GUID: {1280606b-2510-4fe0-97ef-9b5a22eafe64}
Author: zeniko
Version: 0.8
Size: 2KB
Date: 2007-06-07
Compatibility:
Platforms:
Version 0.8:
Version 0.7:
userChrome.js allows to easily customize Firefox through Javascript.

What userChrome.css is for CSS customization, userChrome.js is for Javascript. Simply edit the file userChrome.js (in the same place as userChrome.css) and its content will be run whenever a new chrome window is opened (onload).
Read more about it at AMI
- SeaMonkey is indeed unofficially supported starting with version 2.0a1pre (AKA SuiteRunner).
- Known Issues with ChromEdit Plus: Version 0.7 of this extension is included in ChromEdit Plus. Should you wish to try ChromEdit Plus, you MUST uninstall userChrome.js extension and restart Firefox before installing ChromEdit Plus. If ChromEdit Plus is already installed, do not install this later version of userChrome.js. They will conflict if you install them both.
- Known Issues when updating from version 0.7:
If you're updating from version 0.7, please add the following line to the top of your userChrome.js before restarting Firefox or else your code will be run in places you might not expect:
if (location != "chrome://browser/content/browser.xul") throw "stop";
(obviously you'll want to replace that URL for applications other than Firefox)
Non-Firefox users should be clever enough to figure out where to use these.chrome://messenger/content/messenger.xul -or- chrome://navigator/content/navigator.xul -or- chrome://editor/content/editor.xul
# The original userChrome.js snippet collection
# A growing collection of snippets by the author of the ScrapBook extension
# Snippet collection from the MozillaZine Knowledge Base
# Snippets collected from this thread by Pirlouy
~~ 0.8 ~~~~
# userChrome.js is now run for every chrome window, not just the main one
# Suggested for inclusion into one of the next Firefox versions (see )
~~ 0.7 ~~~~
# Added support for most current Gecko applications
~~ 0.6 ~~~~
# The file userChrome.js is automatically created
~~ 0.5 ~~~~
# Initial release (2006-01-24)
The modded versions were modified by Jane Ocean (Seamaiden). The only things changed were applications and versions in install.rdf and the addition of contributor lines and disclaimer. Please note that not all versions of all applications were tested in these builds, and some may not work. They are for testing and development purposes only and may not be supported by the original authors and contributors.
Original Compatibility:
XULRunner Toolkit 1.8.0.7 - 1.9+
Modified Compatibility:
XULRunner Toolkit 1.8.0.7 - 1.9+
For Nvu or older applications, please use userChrome.js 0.7.
Original Compatibility:
Modified Compatibility:
zeniko is aware of this AMI listing. He does not mind us mirroring his work, but he did not give us approval to do so (though, he does not deny it, either). However, zeniko did request that one thing be clarified. There have been no contributions to either the original extension or its mods by either Lou Cypher or pile0nades. What they have done is written code snippets to be used with the extension and would thus be good candidates for extension supporters.










Sign In
Register
Help


Windows XP
MultiQuote