How to Highlight a Domain Name In Search Engine Result Pages

Written by Amit Banerjee on 11 Feb, 2010 Under Web Tools

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

Highlight specific domain names and blogs in Search results

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.

Include Search engine Address
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.

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 »



Subscribe to RSS Feed

Join Our Community

Submit Product For Review

Want a Software or a product to be reviewed ? Tell us about it, we will do the rest.