Changing the directory for userChromeJS scripts #315
-
Is there any way to change the directory that userChromeJS scripts are placed in? It seems that most scripts, either from xiaoxiaoflood or other authors, go in the user's /chrome directory. Can I make a subdirectory of /chrome and put scripts in that instead? I tried modifying the config.js file in the Firefox program dir, and the files in the utils dir, but couldn't get it to work. I don't know enough about Javascript to understand how those scripts work and how they find the user's chrome directory. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can edit this line in this file, save then restart Firefox. Example: scriptsDir: 'scripts', Now Firefox will load scripts from |
Beta Was this translation helpful? Give feedback.
firefox-scripts/chrome/utils/userChrome.jsm
Line 21 in 0bbf504
You can edit this line in this file, save then restart Firefox.
Example:
Now Firefox will load scripts from
<profilefolder>/chrome/scripts
.