How to Highlight a Domain Name In Search Engine Result Pages

Sometimes you search for a particular keyword in Google and wished your site appeared in the first page. You have to manually check all the results and look into the URL before you could know whether your blog appeared in the search results or not.

Here is a useful Greasemonkey script which can highlight domain names in search engine result pages.

1. Install Greasemonkey add-on for Firefox and add this userscript.

2. Right click on the add-on icon placed at the right of the Firefox status bar and select “Manage user scripts”.

 

3. Select “Locate Domain Name in Search Results” and click “Edit” to open the userscript in notepad.

Manage Greasemonkey user scripts

4. Find the following code:

// Set the array of sites you wish to locate (without www is best) – syntax [['mydomain.com', '#color'], ['mydomain2.com', '#color']];

5. Replace mydomain.com with the domain name you want to highlight in the search result pages. You can add multiple sites using the following syntax:

['www.abc.com', '#DDD']],['www.xyz.com', '#DDD']];

6. Next, find the following code and replace “poundbangwhack.com” with your domain name:

var sites = [['poundbangwhack.com', '#fcc'], ['myspace.com', '#CCC'], ['devseo.co.uk', '#C2D9EF']];

7. Click the Greasemonkey add-on again and select “Manage user scripts”.  Select “Locate Domain name in Search Results” and click on the “Add” button. Include the URL of the search engine where you would perform your search.

8. You are all done. Go to Google, search for a keyword in which your site appears and reload the page twice to see the results.

highlight your blog in search engine result pages
Remember
: Sometimes, you have to reload the search result page twice to see the highlights. This trick is applicable for other search engines too which includes Yahoo, Bing, Ask etc. Thanks to PoundBangWhack for the tip.

Email this article

Written by on Thursday, February 11th, 2010

    Add Your Comment

    All Comments are Moderated.

    YOUR COMMENT

    About This Site

    Ampercent is a technology blog on computer tutorials, software guides, how to tricks and web tools. The blog is updated daily and written by two computer science students from India. Read More »

    Tip Us »

    Have a great tip which you want to share with fellow readers? Send in your ideas to tips@ampercent.com