[Ext] userChrome.js [support discontinued]
-
- Posts: 2225
- Joined: November 9th, 2004, 6:45 pm
- Location: Jakarta, Indonesia (UTC+7)
- Contact:
-
- Posts: 201
- Joined: October 19th, 2007, 4:50 am
- Location: Swiss Confederation
- Contact:
Minefield users: As of today's nightly the original version 0.8 once again works. The only draw-back is that you can't directly get to the source from the Error Console (yet).
This code as written should never have worked. OTOH the following should:
logan wrote:Still the odd problem with switch(location) { case browser.xul: ...; break; }
This code as written should never have worked. OTOH the following should:
Code: Select all
switch (location.href) { case "chrome://browser/content/browser.xul": ...; break; }
-
- Posts: 201
- Joined: October 19th, 2007, 4:50 am
- Location: Swiss Confederation
- Contact:
zeniko wrote:The only draw-back is that you can't directly get to the source from the Error Console (yet).
Until that happens, just copy the following work-around to the top of your userChrome.js:
Code: Select all
if (location == "chrome://global/content/viewSource.xul" &&
/ -> (file:\S+)$/.test(window.arguments[0])) {
window.arguments[0] = RegExp.$1;
onLoadViewSource();
}
aronin wrote:a. Why isn't this extension released on AMO?
Why should it? It's nowhere near as user friendly as Greasemonkey or Stylish and thus only targeted at those actively looking for it. Furthermore AMO isn't really suitable for the type of questions such an extension will inevitably produce.
aronin wrote:b. Why isn't there a dedicated site (yet!!) for userChrome.js scripts like we have for Greasemonkey and Stylish?
Probably because this extension doesn't allow to handle individual snippets as easily - but more importantly: Because nobody's volunteered to set up such a site (yet)!
-
- Posts: 201
- Joined: October 19th, 2007, 4:50 am
- Location: Swiss Confederation
- Contact:
Looks like you might get somebody volunteering faster than expected...
For personal reasons, I've decided to step down hosting the trivial piece of code that is the userChrome.js extension and leave it to somebody more involved (who actually still uses the extension) to take over support and the organization of snippets.
Thanks for using this extension and may your own code snippets keep you involved in the noble art of JavaScript programming!
BTW: Should you be this "somebody to take over", feel free to post a link...
For personal reasons, I've decided to step down hosting the trivial piece of code that is the userChrome.js extension and leave it to somebody more involved (who actually still uses the extension) to take over support and the organization of snippets.
Thanks for using this extension and may your own code snippets keep you involved in the noble art of JavaScript programming!
BTW: Should you be this "somebody to take over", feel free to post a link...
-
- Posts: 243
- Joined: November 9th, 2005, 7:31 pm
zeniko wrote:Looks like you might get somebody volunteering faster than expected...
For personal reasons, I've decided to step down hosting the trivial piece of code that is the userChrome.js extension and leave it to somebody more involved (who actually still uses the extension) to take over support and the organization of snippets.
Thanks for using this extension and may your own code snippets keep you involved in the noble art of JavaScript programming!
BTW: Should you be this "somebody to take over", feel free to post a link...
Ooops... that was completely out of the blue...
Just one question, forget about the scripts, since I have most of the scripts that I need... about the extension itself... is there a chance that it will require any change in the near (Firefox 3) or further (Firefox 4) future? What I mean is, is it an extension that has any dependency on Firefox code? or is it pretty generic and will work with any Firefox version?
-
- Posts: 201
- Joined: October 19th, 2007, 4:50 am
- Location: Swiss Confederation
- Contact:
aronin: The extension should be trivial enough to only break when the core APIs undergo major change. Unfortunately that might be the case with Firefox 4. Then again, Alice0775 or somebody else will likely provide a fix when needed... so: no worries!
-
- Posts: 85
- Joined: June 24th, 2007, 7:14 am
hummm
has anyone managed to get alice0775's http://space.geocities.jp/alice0775/STO ... uc.xul.txt to work with recent nightlies?
has anyone managed to get alice0775's http://space.geocities.jp/alice0775/STO ... uc.xul.txt to work with recent nightlies?
- Alice0775
- Posts: 2818
- Joined: October 26th, 2007, 11:25 pm
- Location: OSAKA
DeathWolf wrote:hummm
has anyone managed to get alice0775's http://space.geocities.jp/alice0775/STO ... uc.xul.txt to work with recent nightlies?
It works fine for me.
Perhaps I think it to be Bug 330458 – Cannot dynamically load an overlay using document.loadOverlay until a previous overlay is completely loaded.
Try Sub-Script/Overlay Loader v3.0.6mod ( http://space.geocities.jp/alice0775/STORE/userChrome.js )
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-us; rv:1.9pre) Gecko/2008040309 Minefield/3.0pre
-
- Posts: 3
- Joined: April 4th, 2008, 6:22 am
- pirlouy
- Posts: 232
- Joined: February 11th, 2005, 6:29 am
- Location: France