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.

Related posts:

  1. Gmail ‘from:’ address customizable!
  2. Cheat the GMail Antivirus Scanner: Attach any filetype with GMail
  3. WordPress Sticky Posts Plugin
  4. Google PageRank 10
  5. Rapidshare Tips and Tricks


  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. Hi This is a excellent fishing site and I found the post helpful,this will benefit my results especially when im fishing the river,I will check back for more tips. Should you ever find some unheard of tackle be sure to place then on your blog,in the past I have always relied on abu garcia reels but there are many choices and it can be confusing,long as they keep making quality reels they will be in my arsonal.

  3. here often obviously a great deal to know about this. I believe you made some incredible points in Features also.

  4. This was in fact a perfect post

  5. 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.

  6. Despite a poor qualifying result of 12th place,
    Amon managed to bring the Ferrari up through the pack to finish third, one lap behind the Mc –
    Larens. This team was linked to Porsche through family ties and also received
    full factory support including the use of factory mechanics.
    Orlando is home to Walt Disney World including The Magic Kingdom, Epcot, Animal Kingdom, MGM Studios,
    Typhoon Lagoon and River Country.

  7. It is appropriate time to make some plans for the future and it is time to be happy.
    I have read this post and if I could I desire to suggest you few
    interesting things or suggestions. Perhaps you can write next articles referring to
    this article. I want to read more things about it!


  1. Xanax. - Buy xanax without prescription in usa.... Generic xanax. Buy xanax. Xanax lawsuits. Xanax withdrawal symptoms. Does xanax make sex better. Buy …
  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

seven + = 16