benzBrake / FirefoxCustomize

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

saveUCJS.uc.js #32

Closed Endor8 closed 6 months ago

Endor8 commented 6 months ago

Hi benzBrake

In your Script saveUCJS.uc.js line 23 should be now: var fu = ChromeUtils.importESModule('resource://gre/modules/FileUtils.sys.mjs'); or similar. Here it works in Firefox 125 and above.

the file: FileUtils.jsm not exist any more in Firefox. All .jsm files have been removed or renamed to sys.mjs. There no .jsm File left in Firefox.

Kind Regards Endor

benzBrake commented 6 months ago

Actually Cu.import('resource://gre/modules/FileUtils.jsm'); works in nightly 2024-04-30

benzBrake commented 6 months ago

the commit e41d280bf8dd2a5dff8b43b739428dc920a939ba solve this issue