| View previous topic :: View next topic |
| Author |
Message |
Hasso
Joined: 23 Mar 2005 Posts: 321 Location: Germany
|
Posted: Wed Sep 27, 2006 10:02 am Post subject: Get to next topic in forum |
|
|
Hello,
as I browse several forums daily, I was looking for a shortcut to go to the next topic. In most of the english language forums there is a link called View next topic and the link address contains view=next. Based on that I wrote a little script:
| Code: |
;----------------------------------------------
; browse to next topic in forums
;----------------------------------------------
#RIGHT::
clipboard=javascript:for (var i = 10; i <= document.getElementsByTagName('a').length; i++) {if(document.getElementsByTagName("a")[i].lastIndexOf("next") != -1) {location.href=document.getElementsByTagName("a")[i];break;}}
sendInput !s^v{ENTER}
return |
Maybe it's useful to someone of you. _________________ Hasso
Programmers don't die, they GOSUB without RETURN |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6836 Location: France (near Paris)
|
Posted: Wed Sep 27, 2006 10:24 am Post subject: |
|
|
Some notes: you didn't specified what the !s is supposed to do (probably just go to the address bar) nor for which navigator this shortcut works.
You answer a need here: Forum View previous topic :: View next topic...
And that my advice to use Firefox's LinkToolbar extension is still good.
My prefered way to browse this forum, skipping read topics or those with BF2 in the subject ( ) is to have the section opened in one tab, then I drag'n'drop the links to the topic tab... No need to abuse the Back button, this way. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
|