Removing sites from Google Search

If, like me, you hate results appearing in your google search results, you can use this bookmarklet to remove them.

var query;
var regexS = "[\\?&]"+"q"+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null ){query = "";}
else{query = results[1];}
query =  query + "";
document.location = "" + query;

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s