firefox-scripts icon indicating copy to clipboard operation
firefox-scripts copied to clipboard

FF 143 - some userChromeJS scripts disappeared / some not working

Open momo1958 opened this issue 3 months ago • 9 comments

FF 143 - userChromeJS scripts disappeared / not working:

1. Disappeared: about_button.uc.js restart_button.uc.js

2. Not working: MinMaxClose Button

Help?

momo1958 avatar Sep 19 '25 13:09 momo1958

Where are you getting "about_button.uc.js" and "restart_button.uc.js" from? I don't see where to download them.

Could you zip and upload those scripts because I have my own that still work but they're probably coded differently.

marty60 avatar Sep 19 '25 18:09 marty60

Where are you getting "about_button.uc.js" and "restart_button.uc.js" from? I don't see where to download them.

Could you zip and upload those scripts because I have my own that still work but they're probably coded differently.

Actually from another repo, I should check there... https://github.com/Aris-t2/CustomJSforFx/tree/master/scripts

momo1958 avatar Sep 20 '25 15:09 momo1958

Actually from another repo, I should check there... https://github.com/Aris-t2/CustomJSforFx/tree/master/scripts

Aris will probably fix those quick enough but these work the same, they're just coded differently:

restart.zip

The MinMaxClose Button from xiaoxiaoflood's script page is still working for me on 145.0.

marty60 avatar Sep 20 '25 15:09 marty60

Found a fix there 🙏

ChromeUtils.importESModule("resource:///modules/CustomizableUI.sys.mjs"); needed to be removed.

And the MinMaxClose Button from xiaoxiaoflood's script page is actually working for me too 😀

Thanks!

momo1958 avatar Sep 21 '25 18:09 momo1958

@momo1958 Can you share a working minMaxCloseButton.uc.js?

Arku3S avatar Oct 01 '25 17:10 Arku3S

@momo1958 Can you share a working minMaxCloseButton.uc.js?

Here you go:

minMaxCloseButton.uc.js.zip

marty60 avatar Oct 02 '25 15:10 marty60

If a script (*.uc.js file) stop working check if updating the script header help

  // @include         main
+ // @include         about:*
+ // @include         chrome://devtools/content/.*

onemen avatar Nov 25 '25 08:11 onemen

If a script (*.uc.js file) stop working check if updating the script header help

// @include main

  • // @include about:*
  • // @include chrome://devtools/content/.*

Tried but couldn't get that to work.

@Izheil provided an update to userChrome.js today and all of my scripts are back. Unfortunately I lost the Custom Buttons addon again. This is from a bug they finally fixed from 15 years ago. :-)

userChrome.zip

marty60 avatar Nov 30 '25 02:11 marty60

https://github.com/onemen/TabMixPlus/issues/494#issuecomment-3591761915

117649 avatar Nov 30 '25 03:11 117649