SearchWiki Breaks Numbered Google Results – Easy Fix

November 22nd, 2008 by Stephen Cronin (Please wait) [Shortlink]

On 20 November 2008, Google introduced SearchWiki, allowing users to customize their search results by re-ranking, deleting, adding and commenting on them. I’m not going to cover how SearchWiki works, nor am I going to examine whether the impact of SearchWiki is positive or negative.

I was going to moan about how SearchWiki broke the Numbered Google Results script for Greasemonkey. Instead, I just worked out how to fix it. Here’s a simple hack to the Numbered Google Results script which allows it to work with SearchWiki.


SearchWiki Breaks The Numbered Google Results

The Numbered Google Results Greasemonkey script basically does what it’s title says: it numbers the results presented in Google’s Search Results. This allows you to instantly identify where a website is ranked. This is very useful for SEOs who are monitoring the progress of their websites in the SERPs.

You can see it in action in the following screenshot – note the numbers before each entry.

Numbered Google Results

With the introduction of SearchWiki, the numbered results broke. Certain results, such as News results from Google, still show a number, but normal search results don’t. You can clearly see this in the following screenshot.

SearchWiki Breaks Numbered Google Results

Note: If you’re not logged into Google, you won’t have this problem. This is because SearchWiki is only active (and therefore interferes with the script) when you’re logged in.

Solution – Hacking The Numbered Google Results Script

Thankfully, this problem can be easily solved by making a very simple hack to the script. Here are the steps (assuming you have installed the script):

  1. Right-Click on the Greasemonkey icon in Firefox
  2. Click Manage User Scripts and a dialog box will open
  3. Select Number Google Results from the list
  4. Click the Edit button (at the bottom of the dialog box)
  5. If asked for the location of a text editor, find one on your hard drive (if you use Notepad, start by looking for C:\Windows\Notepad.exe)
  6. Make the change shown below, then Save, Close and click Okay
  7. Refresh (F5) Google to make sure the changes are loaded

Here’s the change. Find the following line (at around line 54):

if (tp.className == 'g') { 

and change it to:

if (tp.className == 'g' || tp.className == 'g w0') {

I told you it was simple! You should now get numbered results whether you are logged into Google or not. SearchWiki won’t break it.

Like this article? Share it!

Tags: , , , , ,

29 Responses to “SearchWiki Breaks Numbered Google Results – Easy Fix”

  1. Casino Club says:

    thanks for the sharing, in my system sometimes the firefox hangs up due to heavy script process… it their any solution for that?

    LINK REMOVED: because of failure to use KeywordLuv syntax (name@keywords)

  2. Caroline@debit card loans says:

    Searchwiki has just started showing up on my searches although I have been using SEO for Firefox which has a numbering system.

  3. Dan Taylor@seo says:

    Thanks for that fix. This tool is such a time saver in my day to day work.

  4. Prue says:

    This is a good article. Great info. I learned a lot reading through this… Thanks for sharing….

  5. Tran@airport parking says:

    Thanks for this – I rely on the Greasemonkey script so would really miss the numbered searches.

  6. bleuken@expense management software says:

    I’m just hoping that you could explain if SearchWiki does some good or bad effect on the real, non-login results. Google did not confirm anything about it but I have a hunch that there’s a possibility that results will be affected by this.

  7. lisa@Black Friday Woodbury Commons says:

    I use Aaron Wall’s SEO plugin and I think Search Wiki broke it too but he put out a patch. Looking forward to seeing what you write about searchwiki. I hate it – too much clutter.

  8. Brad@Online Internet Marketing says:

    Appreciate the time you have taken to sort out a fix, but still having trouble with it.

    Has anyone had trouble getting the patch to work?

  9. Brad@Online Internet Marketing says:

    Sorry have it sorted now! I had a special moment I wish not to share. :) hahaha

  10. Hex@van leasing says:

    I’m not liking the searchwiki thing at all. Too much onscreen clutter – thanks for this fix though.

  11. paul@current account says:

    I’m not entirely convenienced with the searchWiki, it appears to have caused more harm than good both to my addon and online experience. Forgot I had the wiki on and used wrong results.

  12. Villas in Greece says:

    Hey Stephen, you have written an excellent post. I liked the topic you have chosen. Its true that searchwiki has only created much on screen clutter, which can’t be appreciated.

    LINK REMOVED: because of failure to use KeywordLuv syntax (name@keywords)

  13. Web Design Solutions says:

    Congratulations Stephens for writing such a good post. I must say that you have chosen an important topic. I also believe that searchwiki has created an exceessive online clutter, which doesn’t worth appreciation.

    LINK REMOVED: because of failure to use KeywordLuv syntax (name@keywords)

  14. OM@Cheap cars says:

    Thanks for sharing this information. It really cuts down a lot of time and also is less stressful, i must say…

  15. Macey says:

    New updates are always welcome ! If you want to stay up with latest news and improvements those sites are necessity.

  16. Iamsgf says:

    For numbered search results I have been using SEO for Firefox with many other benefits and features. Although I am not quite familiar with searchwiki but I was planning to use it and to customize it. I think I’ll have to read a lot of stuff first of first.

  17. Brad@Gold Cost Golf says:

    Thank you for providing the fix for this script.

  18. Srednarb@Promotional Items Corporate Gifts Srednarb says:

    I have been using the plugin Customize Google and and the Search Wiki also breaks the numbering. Thanks for the solution. i will use Greasemonkey instead of CustomizeGoogle plugin for the numbering.

    Is GreaseMonkey smart enough to start at 11 and not back at one for page 2?

  19. Rome@NDS Games says:

    Thank you for this fix Stephen. I’ve wondered how to fix that for the longest time but I just didn’t mind it because I wasn’t good at fixing things! :)

  20. Mattie says:

    This is really a good one and advisable to all..As the numbering shows the count of the sites occurred we can easily have a count on it..So that we can try to improve the count instead of checking one by one..

  21. tony@Cheap web hosting. says:

    Nice fix for google search wiki. I am not a fan of the search wiki and wonder how it will effect results over time.

  22. Jenn@Woodstock Real Estate says:

    Search Wiki will have to improve drastically before it becomes relavent. I guess we shall see.

  23. jaydee@Logo design says:

    Many thanks for this fix, I really rely on the number google results script and was getting annoyed that it stopped working – works perfectly again!

    btw your ‘copy to clipboard’ link doesn’t seem to work for me…

  24. Ed (eBay Shop Design) says:

    Since the Google Caffeine update the script has stopped working. I guess its to do with a change in the code format of the new SERP’s.

    Any idea what needs to be changed to get it working again?

    • Stephen Cronin says:

      Hi Ed,

      Haven’t had time to look at it, but I suspect it’s not Caffeine per se – it’s more likely to be the new AJAX method they’re using, eg:

      http://www.google.com/#hl=en&source=hp…. etc

      instead of:

      http://www.google.co.uk/search?q=google

      That’s broken quite a few things, including numbered search results. I’ve been getting these URLs from Google on and off for the last few months (I’m in Australia).

      That doesn’t help you, I know. I guess the original author will update the script at some point, or perhaps I will if I get the time. In the meantime, the workaround is to use Advanced Search which uses the old style URL and allows the numbering to work..

    • Stephen Cronin says:

      Hi Ed,

      Well, I’ve gone and written a new script which does work with the new AJAX powered search (well actually it just enforces the old style search):

      Google Numbered Search Results

Leave a Reply

Anti-Spam Quiz:


Stephen Cronin

is Manager of Online Service Delivery at a Queensland Government department & has been a freelance WordPress developer/consultant since 2007
*Content on this site is my own and is not related to my employer

Hire me - I'm expensive, but I'm very good!

WordPress Plugins

Want a Custom WordPress plugin? See my Services page.

Greasemonkey Scripts

Visit my home page at Userscripts.org.