Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Next/Previous Navigation

Next/Previous links one keypress away!

The Next/Previous navigation script adds keyboard shortcuts for jumping around various paginated screens. Navigating newspaper articles, search results, and webcomics comes to mind. Just press right arrow to go to the next page, left arrow to go to the previous page.

Current version is 1.38.

-Please use the version of the script from Original Source Location, since I am having trouble uploading it here.-

As of version 1.5, the script even supports next and previous links represented by images. As of version 1.6, older versions of Greasemonkey and Firefox are supported. Version 1.7 improved image buttons handling. Version 1.8 made onClick in links work better, and improved patterns for "Next". Version 1.11 adds support for variants of "<<" and ">>", while version 1.14 understands German. Version 1.23 implements "if everything fails, try to see whether the URL looks like a part of a sequence which can be incremented/decremented". Version 1.25 extends URL handling to those that look like dates. Version 1.26 makes the script to not fire up when a form input field has focus. Version 1.27 adds a simplistic ranking system so it prefers some possible next and previous links to others if there is a conflict. Version 1.31 groks Danish. Changes not listed above mainly introduce better patterns or bugfixes.






Feb 16, 2008
chochem User

Thansk for this but how do I change the key code to ctrl + arrows?

 
Feb 12, 2006
Anton Berezin Script's author

avi: I don't see what is there to navigate without registering, and I am not very interested in registering. Sorry.

 
Feb 12, 2006
Anton Berezin Script's author

Brian: there, they all should work now.

 
Feb 12, 2006
avi 2 User

dont work :\

tnx avi
http://www.listen2myradio.com/

 
Feb 11, 2006
Brian Pilnick Scriptwright

a couple more webcomics it doesn't work with:
http://www.vgcats.com/comics/
http://www.beaverandsteve.com/index.php
http://www.starslipcrisis.com/index.shtml
http://hlcomic.com/index.php

 
Feb 11, 2006
Brian Pilnick Scriptwright

it doesn't work on http://www.ctrlaltdel-online.com/comic.php

 
Feb 11, 2006
Anton Berezin Script's author

Nathan: I added a very simplistic ranking of possible matches, so at least it does the right thing for the site you've mentioned. But I'll be very interested to learn about other sites for which it does not do the job (but should).

 
Feb 11, 2006
Anton Berezin Script's author

Ben: yeah, I believe it is a known leak with addEventListener(). IIRC, it was fixed in FF trunk but not in 1.5.0.1, but there's a hope 1.5.0.2 will include the fix. :-)

 
Feb 11, 2006
Anton Berezin Script's author

Chris: fixed, sorry it took so long.

 
Feb 2, 2006
Chris M User

Awesome script. Is there a way to disable it while typing in a text box?

 
Jan 24, 2006
Ben Lowery Scriptwright

Hi Anton,

This script seems to trigger a memory leak in Firefox 1.5, especially when refreshing a page with a lot of dom nodes over and over again. Anyone else seeing this?

 
Jan 16, 2006
Anton Berezin Script's author

Nathan: I'll try to fix that, except http://ubuntuforums.org seems down at the moment.

 
Jan 12, 2006
Nathan Howell User

Nice script. I found somewhere it doesn't do the right thing though (IMO). On http://ubuntuforums.org it seems to go to the next thread, rather than the next page of the current thread.

 
Dec 29, 2005
Christopher ... Scriptwright

This one's very useful on forums that have small, hard to click next page buttons.

You could comment on this script if you were logged in.