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

MinMaxClose Button doesn't work for 142.0b3

Open actforjason opened this issue 5 months ago • 3 comments

After update 142.0b3,MinMaxClose Button disappear.

actforjason avatar Jul 27 '25 10:07 actforjason

@actforjason Did you find a solution? 142 was released as stable today, and minMaxCloseButton doesn't work.

Arku3S avatar Aug 19 '25 18:08 Arku3S

This fork https://github.com/AlexVallat/firefox-scripts/tree/master seems to have the fixes necessary for 142.

I only use minMaxCloseButton script, so I only grabbed the updated userChrome.js and xPref.sys.mjs from the fork, and those alone were enough to fix it for me.

My chrome directory tree for reference
chrome/
├─ utils/
│  ├─ chrome.manifest
│  ├─ userChrome.js
│  ├─ xPref.sys.mjs
├─ minMaxCloseButton.uc.js
├─ rebuild_userChrome.uc.js
├─ userChrome.css
├─ userContent.css

librewolf.cfg file:

null;

// https://github.com/AlexVallat/firefox-scripts/blob/master/installation-folder/config.js
lockPref('xpinstall.signatures.required', false);
lockPref('extensions.install_origins.enabled', false);

try {
  Services.scriptloader.loadSubScript('chrome://userchromejs/content/userChrome.js');
} catch (ex) {};

/** LIBREWOLF SETTINGS
// ...

BobbyWibowo avatar Aug 22 '25 09:08 BobbyWibowo

This does work, but need "Clear startup cache..." at the end. AlexVallat commits for 142

actforjason avatar Aug 22 '25 14:08 actforjason