SearchWiki Breaks Numbered Google Results – Easy Fix

November 22nd, 2008 by Stephen Cronin (3,262 views)

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.

Subscribe To Site:
Share and Enjoy:
  • StumbleUpon
  • PlugIM
  • Sphinn
  • Digg
  • del.icio.us
  • Bumpzee
  • Reddit
  • Technorati
  • co.mments
  • DZone
  • Twitter
Related posts

Tags: , , , , ,

41 Comments

  1. Casino Club Says:
     (Reply)

    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. Searchwiki has just started showing up on my searches although I have been using SEO for Firefox which has a numbering system.

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

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

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

  6. 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. 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. 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. Sorry have it sorted now! I had a special moment I wish not to share. :) hahaha

    1. Hi Brad,

      Glad you got it sorted! :)

  10. Gin Vegas@Gin Vegas dot Com Says:
     (Reply)

    SearchWiki is cool. But I wonder if this new released “product” will turn down Google Original Custom Search itself?

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

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

    1. If you don’t like SearchWiki this post will be of interest to you, does not remove SearchWiki, just shows you how to hide it under your pillow for when you need it – http://www.sixthsensemarketing.com.au/blog/search-engine-optimisation/flick-searchwiki/

  12. 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.

  13. Beautiful mate, thanks for posting. I didn’t realise it was the searchWiki that broke it!

  14. nice little trick on the searchwiki, thanks for sharing.

  15. Stephan, thank you for providing a fix to the numbered Google results. Much appreciated!

  16. Villas in Greece Says:
     (Reply)

    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)

  17. Web Design Solutions Says:
     (Reply)

    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)

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

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

  20. 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.

  21. Thank you for providing the fix for this script.

  22. 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?

    1. Hi Srednarb,

      Yes, it starts at 11 on page 2, 21 on page 3 etc…

  23. 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! :)

  24. 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..

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

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

  27. [...] I did a Google search and found the solution to the [...]

  28. 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…

  29. Finally, a solution for those monitoring our rankings.

  30. Thanks for this, working fine in Opera 9.62.

  31. I could not get it to work in firefox 3, anyone have an suggestions?

  32. Nice extension. Searchwiki hasn’t been too useful for me yet, but Google Custom Search on the other hand…

  33. Graphic Design Says:
     (Reply)

    instead of search wiki I think google custom search is good

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

  34. I use Search wiki but not very often. However it is very good way to search for related information. I think it is improving each day too.

    Ron

  35. Searchwiki is no doubt useful. However, I personally believe that google custom search is comparatively better.

  36. There is no doubt in the fact that Searchwiki is useful. But at the same time there will be nothing wrong to say that google custom search is much better.

  37. I do not deny about the fact that Searchwiki is useful. But I personally believe google custom search is comparatively much better.

  38. Searchwiki is no doubt useful. But at the same time it is true that google custom search is much better.

Leave a comment

THIS BLOG IS NO LONGER DOFOLLOW

Rules: Leave your name! No inappropriate or offensive comments. No links to inappropriate or offensive sites. Comments must contribute to the discussion.


Get your ad shown hereGet relative linksWPVote - Digg for WordPress Lovers Advertise

WordPress Plugins by Stephen Cronin

Want a Custom WordPress plugin? See my Services page.