benzBrake / FirefoxCustomize

Ryan 收集的 Firefox 个性化相关资源
150 stars 33 forks source link

[Bug]: I believe "BookmarkOpt.uc.js" stop working on Firefox V117 #28

Closed ericpa06 closed 1 year ago

ericpa06 commented 1 year ago

What browser are you using?

Firefox

Browser version

117.0b8

What UC scripts loader are you using?

MrOtherGuy(fx-autoconfig)

which script has bug

BookmarkOpt.uc.js

What's wrong with the script?

I believe that script broke down. Although I might be doing something wrong, since I'm terribly noob. In any case, I think it might be worth a check.

As I understand, there was some modifications on the UC script loaders on the Firefox v117, and some scripts had to be updated, as well as bootloader itself as well. I managed to make all scripts to come back, including "addMenuPlus.uc.js" after downloading a new version.

As always, thank you very much for your time and sorry to bother.

Error log

Error: @ BookmarkOpt.uc.js:5085
    tryLoadIntoWindow chrome://userchromejs/content/boot.sys.mjs:134
Caused by: TypeError: can't access property "getElementsByAttribute", aWindow.gNavToolbox.palette is undefined
    XULWidgetGroupWrapper_forWindow resource:///modules/CustomizableUI.sys.mjs:5085
    Marko 3
    injectClassicScriptIntoGlobal chrome://userchromejs/content/boot.sys.mjs:156
    tryLoadIntoWindow chrome://userchromejs/content/boot.sys.mjs:131
    onDOMContent chrome://userchromejs/content/boot.sys.mjs:374
    handleEvent chrome://userchromejs/content/boot.sys.mjs:434
boot.sys.mjs:134:15
    tryLoadIntoWindow chrome://userchromejs/content/boot.sys.mjs:134

Supplement necessary information

No response

benzBrake commented 1 year ago

There's no such error in a clean version of firefox 117b9 with fx-autocofing. And another error log was shown that will not stop the script

Error: @ BookmarkOpt.uc.js:1710
    tryLoadScriptIntoWindow chrome://userchromejs/content/boot.sys.mjs:188
    promise callback*tryLoadScriptIntoWindow chrome://userchromejs/content/boot.sys.mjs:187
    onDOMContent chrome://userchromejs/content/boot.sys.mjs:482
    handleEvent chrome://userchromejs/content/boot.sys.mjs:572
    observe chrome://userchromejs/content/boot.sys.mjs:566
    openWindow resource:///modules/BrowserWindowTracker.sys.mjs:335
    OpenBrowserWindow chrome://browser/content/browser.js:4473
    oncommand chrome://browser/content/browser.xhtml:1
Caused by: TypeError: aId is undefined
    isSpecialWidget resource:///modules/CustomizableUI.sys.mjs:1710
    getWidgetProvider resource:///modules/CustomizableUI.sys.mjs:1284
    wrapWidget resource:///modules/CustomizableUI.sys.mjs:831
    createWidget resource:///modules/CustomizableUI.sys.mjs:4189
    Marko 3
    injectClassicScriptIntoGlobal chrome://userchromejs/content/boot.sys.mjs:210
    tryLoadScriptIntoWindow chrome://userchromejs/content/boot.sys.mjs:185
    onDOMContent chrome://userchromejs/content/boot.sys.mjs:482
    handleEvent chrome://userchromejs/content/boot.sys.mjs:572
    observe chrome://userchromejs/content/boot.sys.mjs:566
    openWindow resource:///modules/BrowserWindowTracker.sys.mjs:335
    OpenBrowserWindow chrome://browser/content/browser.js:4473
    oncommand chrome://browser/content/browser.xhtml:1
ericpa06 commented 1 year ago

Well, thank you very much for your attention, I will give a better look on my set-up, it must be some issue on loader script then.