Coder Social home page Coder Social logo

Comments (3)

Robbendebiene avatar Robbendebiene commented on August 28, 2024

Hi, I took a quick look at the extension. You should be able to use something like this as a user script:

API.windows.getCurrent().then((windowId) => {
  API.windows.update(windowId.id, {
    titlePreface: REPLACE_WITH_TITLE_PREFIX
  });
});

(not tested)

Using one of the prefixes defined here:
https://github.com/Joolee/userchrome-toggle/blob/62eb529ac0e625fe8dd33cf28be07a378dd33303/uct-background.js#L3-L28

Otherwise ask the author of the extension to accept messages from other add-ons 🙂

from gesturefy.

Shina-SG avatar Shina-SG commented on August 28, 2024

Thanks much, but does seems like user script doesn't work for some reason.

I was testing with a simple changing the titlepreface to XXX to hide the titlebar from this Sidebery's userChrome.css https://github.com/mbnuqw/sidebery/wiki/Firefox-Styles-Snippets-(via-userChrome.css)#dynamic-native-tabs

I guess it would be better that I implement API for the extension to accept message from Gesturefy.

from gesturefy.

Robbendebiene avatar Robbendebiene commented on August 28, 2024

According to my testing at least the prefix is successfully added to the window, but I cannot say anything about the userChrome stuff.

I guess it would be better that I implement API for the extension to accept message from Gesturefy.

At least this would solve a limitation user scripts are still suffering from which is that they are blocked on certain pages like GitHub.

from gesturefy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.