http://www.onlinesales.co.uk - Testing Your Way To Success OnlineOnline Sales

UK Conversion & Search Optimisation Services

Bookmarklet to Quickly Check If A Site Has Been Hacked

Occasionally I hear of sites being penalised by Google and quickly dropping out of the SERPs. This can often be the result of spammy links being injected into the site’s template.

Often the links are hidden from everyone apart from the search engine spiders, so a quick normal visual check won’t reveal the problem.

In those cases a site search at Google for the domain name + a spammy term can show the infected articles.

The following bookmarklet will take the domain you are currently visiting and search Google for site:domain and add four common spam terms. Each Google search is opened in a new window giving you the original site plus four new tabs for each of the searches.

javascript:(function(){ window.open('http://www.google.com/search?pws=0&num=100&q=site:'+encodeURIComponent(location.hostname)+' viagra'); window.open('http://www.google.com/search?pws=0&num=100&q=site:'+encodeURIComponent(location.hostname)+' payday+loans'); window.open('http://www.google.com/search?pws=0&num=100&q=site:'+encodeURIComponent(location.hostname)+' cialis'); window.open('http://www.google.com/search?pws=0&num=100&q=site:'+encodeURIComponent(location.hostname)+' ringtones'); })();

To install the bookmarklet, just drag the button below to the bookmarks bar in your browser. To use, click it when you are visiting a domain you want to check for spam. It’s that easy!

Site Spam Hack Test



When I shared this bookmarklet on the SEO Book community forum, Aaron Wall mentioned the Blogstorm post, “How to use Google Alerts to find out if your site gets hacked” as an alternative for constantly checking your own sites.

"Bookmarklet to Quickly Check If A Site Has Been Hacked" was published on January 28th, 2009 and is listed in Search Engine Optimisation.

Follow comments via the RSS Feed | Leave a comment | Trackback URL

Comments on "Bookmarklet to Quickly Check If A Site Has Been Hacked": 1 Comment

  1. Tim wrote,

    F***, onlinesales.co.uk has been hacked :/

Leave Your Comment