Closed blackdarks closed 3 years ago
Done. Update your userChrome.jsm and change the line below as you wish https://github.com/xiaoxiaoflood/firefox-scripts/blob/bf49a208e1363d376fef2d2e11f624fb8aaeed47/chrome/utils/userChrome.jsm#L8
For example, if you want to move .uc.js
files from chrome
to chrome/js
:
let scriptsDir = 'js';
thanks
More questions, what if it's adding several side-by-side subdirectories? e.g. Chrome/JS ,Chrome/TAB, Chrome/sub
See #6.
@xiaoxiaoflood
I wonder why this method is not compatible with userChrome.jsm
that's inside utils_scripts_only.zip
?
I want to use the _utils_scripts_only_ variant and along with that, I also want to change the scrips path but in utils_scripts_only.zip
> utils/userChrome.jsm
> Line 8
the code : let scriptsDir = '';
doesn't exist! Please check that
userChromeJS.jsm is the same file packed in utils.zip
and in utils_scripts_only.zip
.
Everything here is permanently subject to change (updates), so you shouldn't stick to line number. It was line 8 in February.
Okay thanks it's done.
userChromeJS.jsm is the same file packed in
utils.zip
and inutils_scripts_only.zip
.Everything here is permanently subject to change (updates), so you shouldn't stick to line number. It was line 8 in February.
Is this still supposed to work? Because for me, it doesn't. :(
Is this still supposed to work? Because for me, it doesn't. :(
Works for me. I think you should "Clear startup cache" and restart.
userChromeJS.jsm is the same file packed in
utils.zip
and inutils_scripts_only.zip
.Everything here is permanently subject to change (updates), so you shouldn't stick to line number. It was line 8 in February.
Can I use scriptsDir: 'file///xxx' to put it on another disk?
Hello! I’d like to ask, using the rebuild_userChrome.uc.js, how do I transfer the scripts from the Chrome folder to another folder under chrome? Because I don’t think it looks good with all the scripts in the Chrome folder, thanks.