Remove the Google Ads in Gmail

Remove the Google Ads in Gmail

Feb 04

Do you find the text ads in Gmail to be annoying? If you do, you can use Firefox to hide the ads from displaying.

This trick uses CSS and the Firefox configuration file named userContent.css. Before we start modifying our userContent.css file, I would recommend that you install an extension named ChromeEdit that simplifies the process of modifying your Firefox configuration files. So before you enter the CSS code listed below, go and install this extension (note: you’ll need to restart your browser after installation, so you may want to bookmark this page).

Now that you have CromeEdit installed, click on the Firefox Tools menu and then click on the menu item labeled Edit User Files. A new window will appear that has five tabs across the top. Click on the tab that is labeled userContent.css. Next copy the CSS code below and paste it into the userContent.css file, then click the Save button.

#rh table[class=”metatable”]{display: none !important;}
#rh div[class=”c”] {display: none !important;}

Now, restart your browser and open Gmail – the ads are gone!

The above rules make use of the *!important* property value to override any rules that may already exist within the page that is being loaded. In the first rule, GMail has an element with an id of rh and we are setting the tables that have a class equal to metatable within that element, to not display (ie . display:none)

A word of caution, we are only hiding the ads from displaying. They are actually still there, just not visible. This means that Google is still indexing your email messages to provide you with “targetted ads”. It is also worth noting that as this hack is based upon creating CSS rules for existing GMail code, it is very possible that this hack will break as GMail continues to evolve.


  1. I, as well, use a pit-bull who stands out as the most trusting animal I have ever owned. Soon, a new dog breed will can come along for your media to blast, because they have carried out rotties and dobies in earlier many years. Unfortunate that media sensationalism breeds a lot inaccurate info.

  2. An often ignored channel for syndicating articles is to place them in Rss or atom feeds. This one strategy on it’s own could bring you a lot of referral traffic to your articles on a regular basis.


  1. Xanax. - Buy xanax without prescription in usa.... Generic xanax. Buy xanax. Xanax lawsuits. Xanax withdrawal symptoms. Does xanax make sex…
  2. Buy amoxicillin with no prescription. - Amoxicillin without a prescription.... Amoxicillin. Amoxicillin dosage. Allergies amoxicillin. When amoxicillin works for acne. Amoxicillin acne. Amoxicillin and colds....

Leave a Reply