-dt-
Scripting Contest Winner
;o
Posts: 1819 Reputation: 74
36 / /
Joined: Mar 2004
|
RE: Thread Query
quote: Originally posted by rav0
I'd like to see it replace or go next to the current last post link, just go to first unread.
something like...
code:
var lastLinks = document.evaluate('//a[contains(.,"»")][contains(@href,"showthread.php?tid=")]', document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
var href;
for(var i=0;i<lastLinks.snapshotLength;i++){
href = lastLinks.snapshotItem(i).getAttribute('href');
lastLinks.snapshotItem(i).setAttribute('href',href+ '&uid=4');
}
would do that...
GM script: http://darktempler.be/msgplusforumlastpostthin.user.js
This post was edited on 11-12-2005 at 05:37 AM by -dt-.
Happy Birthday, WDZ
|
|