Jump to content

User talk:Dschwen/HighlightRedirects

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

It doesn't seem to work quite right

[edit]

I tried this, and it doesn't work for me. On a page that has plenty of links that are redirects (Abraham Lincoln has several) I get an "errors on page" message from my browser and no changes to the colouring of the links. I'm using IE7. Philip Trueman 11:56, 20 March 2007 (UTC)[reply]

IE7 has broken event registering. I'll create a revised version of teh script next week, which should work in IE too. --Dschwen 18:51, 22 March 2007 (UTC)[reply]

It doesn't seem to work at all

[edit]

In Mozilla Firefox 2.0.0.3. Verisimilus T 10:00, 19 May 2007 (UTC)[reply]

Just checked it in Firefox 2.0.0.3 and it works perfectly. Maybe some problems with other stuff in your monobook.js? Have you tried to install the FireBug extension? --Dschwen 10:06, 19 May 2007 (UTC)[reply]

Errors

[edit]

Following error in Firefox 3.0.5. OrangeDog (talk) 23:12, 1 January 2009 (UTC)[reply]

Error: uncaught exception: [Exception... "Security error"  code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" 
location: "http://en.wikipedia.org/w/index.php?title=User:Dschwen/highlightredirects.js&action=raw&ctype=text/javascript&dontcountme=s Line: 10"]
Yeah, I know. Unfortunately this will not work in FF anymore like this. The stylesheet is served from a different subdomain and FF now strictly enforces its cross-domain security policies. Content that was served from a different server than the script may not be modified by the script. Sorry. I could change the script to modify the DOM instead of the style definitions. Might take a little while though. --Dschwen 02:35, 2 January 2009 (UTC)[reply]
DOM API tends to be a better way to script things like this, and tends to have better cross-platform support. Good luck. OrangeDog (talk) 02:59, 2 January 2009 (UTC)[reply]

Seems to be working again now. Make sure you tell people to use importScript() and not document.write(). OrangeDog (talkedits) 18:32, 28 May 2009 (UTC)[reply]