Rod Whiteley wrote the User Chrome extension a few years ago to enable the use of bindings in the chrome folder. The extension is just an enabler - it has no effect at all on its own. The extension broke in Gecko 2.0 because xpi files are no longer unpacked when extensions are installed. Rod Whiteley is no longer an active member of the forum so I was wondering if you would update and host the extension. You would only need to add the unpack property and SeaMonkey compatibility to the install.rdf file.
Rod Whiteley wrote the User Chrome extension a few years ago to enable the use of bindings in the chrome folder. The extension is just an enabler - it has no effect at all on its own. The extension broke in Gecko 2.0 because xpi files are no longer unpacked when extensions are installed. Rod Whiteley is no longer an active member of the forum so I was wondering if you would update and host the extension. You would only need to add the unpack property and SeaMonkey compatibility to the install.rdf file.
Isn't Alice0755 still maintaining a fork of userChromeJS?
Post Posted October 16th, 2012, 10:02 am there's no fix because there's no bug"
Wrong .. .
userchromeJS is incompatible with the actual versions of firefox & badly interfering, it disables the toolbar customization & removes the icons from its palette.
userChromeJS v2.0 has been released; this version is signed and also requires any prior version to be removed before it is re-installed/downloaded from the homepage.
It seens that there is conflict between userChromeJS 2.0 and Downloadthemall! 3.0.x. I can't MANUALLY add download link in DTA, when userChromeJS 2.0 installed.
Steps To Reproduce:
create a clean profile, install both DTA 3.0.5 and userChromeJS 2.0, restart firefox.
menubar - tools - Downloadall Tools - Manager, click "manually add a download to downloadthem all" button, type any url MANUALLY, there will be a red frame indicates an error.
snapshots: http://i.imgur.com/5DZ1MLG.png http://i.imgur.com/HB0WD1U.png http://i.imgur.com/y2tSw54.png http://i.imgur.com/SdsJdMR.png
When click "manually add a download to downloadthem all" button, I get this message "09:59:56.678 uncaught exception: 21475000371DownloadIntegration.jsm:785:12" in log console.
I have reported this issue to DTA team: https://github.com/downthemall/downthemall/issues/49
Can you fix this problem, thanks!
from the linked bug report, it appears the problem is the Components.* shortcut definitions in global scope. this was removed in v2.0 so it's not clear what the problem is. did the user uninstall old userChrome before installing v2.0 as noted on the home page?
alta88 wrote:from the linked bug report, it appears the problem is the Components.* shortcut definitions in global scope. this was removed in v2.0 so it's not clear what the problem is. did the user uninstall old userChrome before installing v2.0 as noted on the home page?
If you were replying to me, the issue is that userChromeJS imports Services.jsm, but DownThemAll!'s |Services| object !== Services.jsm |Services| object. We layer a bunch of stuff on top of the Services.jsm version: https://github.com/downthemall/downthem ... #L151-L211
The more general issue is: userChromeJS "pollutes" the scope (namespace) of all windows it injects itself into. The ideal solution would be for userChromeJS to avoid creating/changing any new globals, or at least only add the "userChrome" global and only that. That also means that |Cu.import()| has to be called with a second argument (the scope argument) and that has to be different to the window/global scope
why should anyone else be concerned with or affected by your "layers"? importing the system Services.jsm object as |Services| is a... service of userChromeJS, and having this available to all is not exactly global namespace pollution. in fact, Services is imported or "require"ed by very many things and all that's happening here is that you counted on being the last one to grab and hack it. right? any other extension can come along and has no greater or lesser right to modify Services; if it's loaded after your's, it will clobber you.
you should find a better solution for your monkeypatching. or, i'd be glad to give you ownership of userChromeJS
mozillaZine is an independent Mozilla community and advocacy site. We're not affiliated or endorsed by the Mozilla Corporation but we love them just the same.