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

Definitive Google Auto Pager

autoloads for next page of Google search results ver 1.05 / 2007.05.10

When you do a google search and scroll down towards the bottom of search results, this script will seamlessly retrieve the next set of results and display them on the same page.

To start this script you have to doubleclick anywhere on the page, another dblclick turns off the script.

Script originally written by ma.la and extended by beerboy, Takayama Fumihiko, Paul Irish, fazibear. Since version 1.01 by Paweł Kubisz - script is simplified and accelerated: now it uses XPath that's why is much faster then standard DOM nodes manipulation scripts and doesn't eat so much of your machine resources.

Current version is ver 1.05, updated 2007.05.10

As I added auto update feature I've changed the script name to distinguish between other, older Google Auto Pager scripts.




Feb 15, 2008
Shane Falco User

hi !!
i am using Object oriented javascript for an extension (for this auto pager )and there the reference GM_setvalue(GM_*)didn't work !! wat may be the reason ??
i am getting the message as "ReferenceError : GM_setvalue is not defined"
even anything using GM(greasemonkey) doesn't work , how to obtain the reference ??


 
Sep 27, 2007
wolssiloa User

If you use the Google Experimental version with Keyboard shortcuts, the shortcuts do not work with this script enabled. Can someone fix this?


 
Jul 15, 2007
Quasimodo User

On Firefox/Mac, the numbers on the results page go 1-9 and then typically pick up at 31. No results are dropped, but this is disconcerting.


 
Jul 15, 2007
Quasimodo User

To have auto-scrolling enabled at startup, I edited the script as follows:

Changed the inital setting for this variable from -1 to 1:
var Enable = 1;

Moved these three lines from the function dblClickEvents to the ending initialization block:
init_autopager();
insertLoadingText();
watch_scroll();
following the statement:
document.body.addEventListener etc.


 
Jun 27, 2007
pandaking User

I like this a lot, but can we have an option to use the double click or not please.

Also, with the auto-updates, I would much prefer you just used the auto-update script:

User Script Updates - simply update the header of your script and your users will be able to receive change-notification when you improve this script...


 
Jun 18, 2007
Can't Say No User

Just wanted to second everything Mentallo mentioned below. If you're going to bloat a script, you should seriously consider giving users the ability to easily enable or disable the additional features.


 
May 23, 2007
iescripts Scriptwright

This script has been ported to IE:

http://iescripts.org/view-scripts-111p1.htm


 
May 17, 2007
Clevermonkey User

Double-click to activate is the deal-breaker - annoying and pointless, when *wouldn't* I want this script to run? I'm ambivalent about the update checker - I haven't had it pop up (or whatever it's supposed to do) so I don't know how intrusive it is. Results numbering is actually a nice idea, helps if you've been scrolling for a while.

I hear Google is about to change the search results page, so Pawel might have to do a few tweaks anyway. Kill double-click activation please! Great script otherwise, thanks for updating the original.

http://www.betanews.com/article/Google_Unveils_...


 
May 15, 2007
Mentallo Scriptwright

While this script is excellent the introduction of useless features like the result numbers, double-click and update windows, it's starting to be a little bloated. All we really need is the basic functionality of seemless google results. Please either make one basic version and one full featured version or make a options window.


 
May 14, 2007
Paul Irish Scriptwright

If anyone enjoys this functionality but wants a version without an update prompt or double-click to enable (and you're willing to forego some slight performance improvements), you should check out FaziBear's earlier version of this script: http://userscripts.org/scripts/show/6985


 
May 13, 2007
muvo User

Great script.

But I have a problem when I use it. It just doesn't work when I search by google.com. It's enabled, of course. There are even no numbers appear in front of the search result entries and nothing happens when I scroll down. But if I change the search site to google.ca, it works as it's expected to do. I am quite confused about this. Any thoughts?


 
May 12, 2007
Logan Koester Scriptwright

Great idea. Why didn't I think of it!? I just wish it were compatible with Google Ctrl+Arrow... that would be usability heaven.


 
May 11, 2007
Paweł Kubisz Script's author

thx KosciaK - bug fixed


 
May 11, 2007
KosciaK Scriptwright

Sometimes (for example http://www.google.com/search?q=myopathy) first ten results are always at the bottom. New results are appended above first ten


 
May 3, 2007
Paul Irish Scriptwright

What is going on with this script!?!?! It's highly annoying to throw an alert that the script has updated..
Also what purpose do these numbers serve?
This is getting frustrating and I'm about to branch off my own version of this script.

If you could, please create some preferences (maybe with gm_setvalue) so we can set the doubleclick functionality to how we want it, as well as enabling notification of new versions, and adding #s next to the results.

Thanks...


 
Apr 27, 2007
Mentallo Scriptwright

Truly great script. One of the most useful Greasemonkey scripts ever. Congrats!


 
Apr 26, 2007
Paul Irish Scriptwright

I'm not really into the doubleclick functionality, can we make this a setting? I want it to always be on. Why should it ever be disabled?


 
Apr 26, 2007
Mach5 Scriptwright

well that is freaking awesome. well done!


 
Apr 26, 2007
Paweł Kubisz Script's author

the Google evolves permanently - they have changed a little bit theirs page that's why script stopped working - now it's fixed


 
Apr 26, 2007
KosciaK Scriptwright

Is it something on my side or the script stopped working today? There's the loading image but no new page is appended...


 
Apr 23, 2007
Hey there st... User

Great job, guys! :)


 
Apr 22, 2007
FaziBear Scriptwright

... (my script removing loop)
You can also optimize your xpaths.


 
Apr 22, 2007
FaziBear Scriptwright

Great! It faster, and don't have a bug with script tag (my


 
Apr 19, 2007
Jasos User

Wow, nice script this and you other script for google images is great!

Keep up the great work.


 
Apr 19, 2007
Paweł Kubisz Script's author

hi CustomizeGoogle! - check your mailbox


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