xiaoxiaoflood / firefox-scripts

userChromeJS / autoconfig.js and extensions
Mozilla Public License 2.0
989 stars 85 forks source link

I've extensionOptionsMenu.uc.js installed correctly but it doesn't load anymore #95

Closed M7amma closed 2 years ago

M7amma commented 2 years ago

Hello, Although this script is correctly placed into folder together with other working scripts, it's the only one that stopped showing it's button suddenly and I've no idea how to make it's button to show again. I tried 'Clear startup cache' multiple times but still no luck. Script is just there but refuses to show the toolbar button.

117649 commented 2 years ago

Are you using 93+? it breaks several scripts.

M7amma commented 2 years ago

Are you using 93+? it breaks several scripts.

No, I'm still on 92 firefox_fmpo5SwPvU Also have these scripts and they work as expected except extensionOptionsMenu.uc.js 9ZmLh2HdyX

xiaoxiaoflood commented 2 years ago

Are you using 93+? it breaks several scripts.

I just updated to Fx 93 and everything seems to be working, including EOM. The only script broken in Fx 93 was rebuild_userChrome.uc.js, already updated. The legacy addons I use are also working without any changes.

M7amma commented 2 years ago

Solved

M7amma commented 2 years ago

@xiaoxiaoflood Hey, is it possible to change the default path for .uc.js scripts? I want to move them from the main chromefolder and put them inside a sub folder in the chrome folder called 'JS' So I modified the chrome.manifestfile and changed the path from :

content userchromejs ./

To

content userchromejs ./JS/

but the loader failed to get the scripts, what am I doing wrong?

xiaoxiaoflood commented 2 years ago

@Marvinoo

Please read it here:

67

You shouldn't modify chrome.manifest.

M7amma commented 2 years ago

@Marvinoo

Please read it here:

67

You shouldn't modify chrome.manifest.

It helped. Thanks a lot.