xiaoxiaoflood / firefox-scripts

userChromeJS / autoconfig.js and extensions
Mozilla Public License 2.0
1.02k stars 86 forks source link

minmaxclose script not working on new 126.0 FF #304

Closed momo1958 closed 4 months ago

momo1958 commented 4 months ago

Hello,

minmaxclose script not working entirely on latest 126.0 FF; left-click does minimize it but right-click no longer exits browsser

dimdamin commented 4 months ago

Hello, need to replace, try:

-win.BrowserTryToCloseWindow();
+win.BrowserCommands.tryToCloseWindow();
momo1958 commented 4 months ago

Hello, need to replace, try:

-win.BrowserTryToCloseWindow();
+win.BrowserCommands.tryToCloseWindow();

YES! Thanks a lot! :-)