Greasemonkey script for highlighting google results

Posted in Hacks, Internet, Open Source by sandaruwan on July 20th, 2008

Each individual on internet have their own browsing habits. For example, I have seen lot of people type the web address directly in the search box instead of the addressbar(If you look at the top searched queries, you can see yahoo.com, etc).

One of my browsing habits is to look for wikipedia articles. If it’s a movie, I look for imdb. So, instead of spending 1/2 seconds to go through results and analyze site address, i decided to write a simple greasemonkey script.

You can grab the script from here. If you have your own list of sites, you can simply edit the source(greasemonkey provides you a simple interface) and change the “sites” array.

Related Posts

3 Responses to “Greasemonkey script for highlighting google results”

  1. Lahiru Says:

    Can we set different highlight modes/colors to different sites.? :)

    August 1st, 2008 at 1:33 am

  2. sandaruwan Says:

    Add few more styles and modify the script to add color with index.

    css: .highlight0 .highlight1
    js: res.className = “g highlight”+k;

    August 1st, 2008 at 7:17 pm

  3. Lahiru Says:

    cool !

    August 5th, 2008 at 1:20 am

Leave a Reply