ucjs-organization-scripts.zip - right click and save, do not left click

This set of scripts is for use with userChrome.js 0.8 (+?). All the scripts included should be put in to your chrome folder to use, the subscripts that don't apply to your app simply won't be executed1.

This gives you one subscript for each chrome window "type", so for example navigator.uc.js will only run on chrome://navigator/content/navigator.xul windows. The main userChrome.js file is used only to add editing entries to your Tools menu and load the subscripts, though it can of course still be used to run other things on chrome globally.

Adding another subscript is trivial if you know the chrome:// location of the xul file it will run on. See the main userChrome.js file to add your new file to the Tools menu entry, this is not automatic at this point sorry.

The userChrome.js file that comes with this archive must be used. You should rename your current file and copy your snippets over to the new file(s) they apply to after installation. Please see the enclosed readme for more information.

1 technically they are executed but only the first line which stops further execution of that script

changed September 15, 2007