Baysao's note

Friday, May 9, 2008

Remove google and yahoo ads

(From keyvan blog)
Using 1 of 4 method below

1. AdBlock Plus extension

Install Adblock Plus and add the following two filters:

http://ypn-js.overture.com/*

and

http://pagead2.googlesyndication.com/*

2. CSS solution—no additional addons required

Edit userContent.css (use ChromEdit Plus or read Editing Configuration Files if you need help) and add the following two rules:

/*
* Remove Google ads
*/
iframe[name='google_ads_frame'],
a[href^='http://pagead2.googlesyndication.com']
{ display: none ! important; }

/*
* Remove Yahoo ads
*/
iframe[src^='http://ypn-js.overture.com']
{ display: none ! important; }

3. Replacing Ads with Greasemonkey

Install Greasemonkey and then my Replace Google/Yahoo Ads script.

4. Windows hosts

Add theses line in C:\WINDOWS\system32\drivers\etc\hosts

127.0.0.1    pagead2.googlesyndication.com
127.0.0.1 ypn-js.overture.com

No comments: