Skip Navigation

Numbered Google Results User Script

 
Update: This user script was updated 16 Nov 2006 following changes to Google results page code.

Greasemonkey is a truly impressive addition to Firefox and will be IS a nice addition to Opera 8. In simple terms, it allows you to write custom JavaScripts to run on any sites you like (or even all sites). There is a fairly healthy group of scripts already available, and many more surely on the way.


 

Syndication

If you like this post, subscribe to my full feed or partial feed.

 

28 comments (Add Yours)

You can keep up to date with this discussion by subscribing to the RSS or Atom feed.
 
Noah
United States #1: May 8, 2006
Innovative, thanks!
Sajko
Poland #2: July 24, 2006
Sorry, but I donno what to do with it, how to ope it?

huh
Anonymous
United Kingdom #3: November 15, 2006
Oh no, it's stopped working! I guess that Google have changed how the pages are constructed or something. Do you have any suggestions about how to alter the script? This is such a great tool!
Mine stopped working too. I thought maybe my browser was misbehaving, so I tested in 4 different browsers on 2 platforms, and no joy. :(
gugo
Germany #5: November 16, 2006
mine also stopped to work..

I work in english, german, spanish and all the googles have the same thing.

i think we have to learn how to programm java scripts..

I have saved old google pages and with the old ones, works good.
Sometimes you realize how much you appreciate something, after it's gone, like numbered Google Results.
Unfortunately I can't code Javascript, but I do am interested what -I guess- Google changed, that the script to stopped working.
Bah. Dammit Google. Why do you have to change your code and STILL NOT MADE IT GOOD QUALITY CODE? I despair sometimes.

The user script is fixed. Sorry I didn't get it done sooner.
Captain Seeb
United Kingdom #8: November 16, 2006
Thank you very much for your fast work and excellent scripts. Keep up the good work!
Sonja Ray
United States #9: November 17, 2006
Thank you! You're a jewel!
For those who keep the old-style google pages in backup (for me are proofs for customers that dont believe his results watching numbers only)

For numbering the old pages I suggest to create a bookmark but instead of insert a classic "http " put this:

name: number results google before nov 16 ( example)
LOCATION (HERE COPY PASTE)--> :
javascript:function q(key){var value=null;for(var i=0;i<q.keys.length;i++){if (q.keys[i]==key){value=q.values[i];break;}}return value;}q.keys=new Array();q.values=new Array();function q_Parse(){var query=window.location.search.substring(1);var pairs=query.split('&');for(var i=0;i<pairs.length;i++){var pos=pairs[i].indexOf('=');if (pos>=0){var a=pairs[i].substring(0,pos);var value=pairs[i].substring(pos+1);q.keys[q.keys.length]=a;q.values[q.values.length]=value;}}}q_Parse();var j=0;var s=q('start');if(s==null){s=0;}s=parseInt(s)+1;function n(){ps=document.getElementsByTagName('p');for (pi=0;pi<ps.length;pi++){tp=ps[pi];if(tp.className=='g'){w=s+j;tp.innerHTML=w+'. '+tp.innerHTML;j++;}}}; n(); void 0

It helps you?
The post with the javascript it works only for FIREFOX, notice that please.

BTW the script worked for me only once.. then never again.

Could be a problem of the GREASEMONKEY?

Anyone has noticed that?
Why doesnt work on Opera well and maybe in firefox neither....could be because o this?

Error:
Unhandled exception: [Object InternalException]
code: 6
message: WRONG_ARGUMENTS_ERR
Backtrace:
Line 159 of User JS script
window.addEventListener("load", go(), false);
.....
I haven't looked at the script so this may be different but google will number the results for you.

http://www.google.com/ie
Also, add num=# to have more results displayed.

http://www.google.com/ie?num=100
Awesome! Search engines are useful once again!
Thx for information! I Collect SEO-plugins.
Hey brett, when you use the /ie search, you can't see where your site is in the ranking, unless you've memorized every title tag.
Thankx so much for this information., was giving cool results.,
The Firefox-Extension "CustomizeGoogle" has an option to the same.
You can get ist here: http://www.customizegoogle.com/ or here: https://addons.mozilla.org/firefox/743/
Hope you like it...
Two nice scripts. Thanks to Dave and thanks to Christoph for the links.
It looks like they've changed their code again. Your script isn't working, and I tried installing the Customize Google extension to try to get the same functionality, but no luck.
Unfortunately Google Labs new Keyboard shortcuts don't work properly icm with your script. See for example:
http://www.google.com/search?q=rattlesnake&hl=en&esrch=BetaShortcuts&start=10&sa=N

I also have send this message to Google, inlcuding a request for a keyboard shortcut for numbering the Google results.
Thank you so MUCH!!!
wendy
United States #24: August 28, 2007
i do have a write to say what i want to and no one can tell me any different so all i got to say is i'll be leaving right so i will log out now and see ya soon again love you?
Many thanks for making this Google numbering script available - most helpful, and brings Google search results more in line with Yahoo!'s ease of use.

Thanks, too, for drawing attention to the benefits of GreaseMonkey - a great find!
I don't suppose you know of a script that will number Yahoo results, now that they've dropped the numbers for some reason.

And while we're at it, how about Ask?
 United States #27: March 18, 2008
It doesn't work anymore. It was working yesterday. I guess I don't have a reason to use Firefox anymore. Hopefully they'll update it.
This is a fantastic add-on to and now essential to my every day SEO tasks, thanks!

 

Post Your Comment

 
Only the name and comment fields are required.
 

Live Comment Preview

 United States #29: 1 minute ago

Web Design, Development and Marketing