GithubHelp home page GithubHelp logo

isabella232 / ui-text-overrider Goto Github PK

View Code? Open in Web Editor NEW

This project forked from clear-code/ui-text-overrider

0.0 0.0 0.0 57 KB

Provides ability to override UI elements' label, tooltip text, etc.

License: Mozilla Public License 2.0

JavaScript 99.08% Makefile 0.92%

ui-text-overrider's Introduction

ui-text-overrider

Download Link: https://addons.mozilla.org/firefox/addon/ui-text-overrider/

Provides ability to override UI elements' label, tooltip text, etc.

If you define some preferences like following, this addon automatically apply new labels, tooltip texts, and so on.

user_pref("[email protected]",             "CSS selector for the element");
user_pref("[email protected]",       "new label");
user_pref("[email protected]", "new tooltiptext");
user_pref("[email protected]",   "accesskey");

user_pref("[email protected]",             "CSS selector for the element 2");
user_pref("[email protected]",       "new label2");
user_pref("[email protected]", "new tooltiptext2");
user_pref("[email protected]",   "accesskey2");
// If the item is automatically inserted by another addon,
// then you should set this "delayed" flag to override labels certainly.
user_pref("[email protected]",     true);

...

For example, following preferences will change the label of "Firefox" button to "Iceweasel".

user_pref("[email protected]",       "#appmenu-button");
user_pref("[email protected]", "Iceweasel");

The value of the base key is always a CSS selector string to find the target element. You can specify any attribute name and value as child keys.

Note: original attribute and values won't be restored even if the addon is disabled or uninstalled, until you restart Firefox.

ui-text-overrider's People

Contributors

piroor avatar cosmo0920 avatar kenhys avatar

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.