Thursday, February 24, 2005

No more ads :-)

So I figured out how to strip away the text ads in GMail when you use Firefox.

First you need to install this extension for Firefox: URIid. This extension you to provide a CSS file that will selectively override the CSS formating for specific websites.

Once you've done that, create a text file called userContent.css in your Mozilla profile's chrome folder (You can find it most easily with Start->Run-> "%AppData%" then navigate down through a structure similar to: Mozilla/Firefox/Profiles/default.q12/chrome).

In the userContent.css file, place this text:
body#gmail-google-com div#ad {
display: none !important;
}


Save the file then restart Firefox.

This will hide the text ad <div> blocks on any gmail web page!

If you fool around with this file (and know CSS syntax) you can change the colors and behavior of all the pieces of the GMail interface. The easiest way to find the names of the various components is by drag selecting the sections of the UI then choosing "View Selection Source" in the right-click context menu.

1 Comments:

At 11:48 AM, Tan said...

Funny you should mention that - I rarely see ads when I use GMail. Wacky.

 

Post a Comment

<< Home