blocking gmail bottom and top ads

Everything about using Adblock Plus on Google Chrome
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

blocking gmail bottom and top ads

Post by mapx »

How can I block the gmail bottom ads (in the emails) ?
I saw that ABP for FF can block these ads

http://www.flickr.com/photos/mapx/5517593595/
Last edited by mapx on Sun Mar 20, 2011 12:29 pm, edited 1 time in total.
jg84
Posts: 1
Joined: Thu Mar 17, 2011 10:55 pm

Re: blocking gmail bottom ads

Post by jg84 »

I want to block these annoying ads too, I use ABP for FF and I still get this ad shown, I've tried adding http://pagead2.googlesyndication.com to my HOSTS file, tried blocking the element via ABP with no luck. How do I get rid of it?!
ttjoseph
Posts: 79
Joined: Sat Dec 04, 2010 4:12 am

Re: blocking gmail bottom ads

Post by ttjoseph »

Looks like this the Google Apps version of Gmail. Does the following filter work?

Code: Select all

mail.google.com##.z0DeRc
That's a weird-looking class name for Gmail; I wonder if it's unique to my instance of Google Apps or some such.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: blocking gmail bottom ads

Post by mapx »

ttjoseph wrote:Looks like this the Google Apps version of Gmail. Does the following filter work?

Code: Select all

mail.google.com##.z0DeRc
That's a weird-looking class name for Gmail; I wonder if it's unique to my instance of Google Apps or some such.
thanks ! it's good for me. Can you explain how can identify such filter ? I tried go in tools/ view source but I cant view such code (z0DeRc)
ttjoseph
Posts: 79
Joined: Sat Dec 04, 2010 4:12 am

Re: blocking gmail bottom ads

Post by ttjoseph »

The thing you want is in Wrench->Tools->Developer Tools. Then click on the "Elements" tab. This way you can browse the DOM tree of the page and find the element you are interested in.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: blocking gmail bottom ads

Post by mapx »

thanks joseph

I added another filter for the top ads in gmail:

Code: Select all

mail.google.com##.mq.nH.oy8Mbf
Ares2
Posts: 1275
Joined: Fri Feb 15, 2008 12:47 pm

Re: blocking gmail bottom ads

Post by Ares2 »

@joseph: Do you think it's safe to add those rules to a filter subscription?
ttjoseph
Posts: 79
Joined: Sat Dec 04, 2010 4:12 am

Re: blocking gmail bottom ads

Post by ttjoseph »

Ares2, I think it's OK; I haven't had any problems with these filters. Perhaps you could also consider the filter I suggested in this thread: forum/viewtopic.php?f=10&t=7041
Ares2
Posts: 1275
Joined: Fri Feb 15, 2008 12:47 pm

Re: blocking gmail bottom and top ads

Post by Ares2 »

I have added

Code: Select all

mail.google.com##.z0DeRc
to EasyList (*crosses fingers that it doesn't break anything*).

The ads on top can be turned off in preferences and I'm not sure about the "About these links", it's ringing alarm bells in my head. :wink:
ttjoseph
Posts: 79
Joined: Sat Dec 04, 2010 4:12 am

Re: blocking gmail bottom and top ads

Post by ttjoseph »

Ares2 wrote:The ads on top can be turned off in preferences and I'm not sure about the "About these links", it's ringing alarm bells in my head. :wink:
Fair enough, "About these links" is not really a botheration anyway. Thanks.
taint
Posts: 2
Joined: Fri Jul 09, 2010 5:39 pm

Re: blocking gmail bottom and top ads

Post by taint »

Ares2 wrote:I have added

Code: Select all

mail.google.com##.z0DeRc
to EasyList (*crosses fingers that it doesn't break anything*).

The ads on top can be turned off in preferences and I'm not sure about the "About these links", it's ringing alarm bells in my head. :wink:
Does that mean all I have to do is update my easylist subscription and it should go away? If so then great!
Ares2
Posts: 1275
Joined: Fri Feb 15, 2008 12:47 pm

Re: blocking gmail bottom and top ads

Post by Ares2 »

Yep, that should do it. Plase tell us if it works or not.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: blocking gmail bottom and top ads

Post by mapx »

Ares2 wrote:Yep, that should do it. Plase tell us if it works or not.
I removed the filter

mail.google.com##.z0DeRc

update the easylist, but it seems not working (I see again the bottom ads)
Ares2
Posts: 1275
Joined: Fri Feb 15, 2008 12:47 pm

Re: blocking gmail bottom and top ads

Post by Ares2 »

The filter worked for you two days ago and it doesn't work now? Are you sure you haven't accidentally disabled the filter?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: blocking gmail bottom and top ads

Post by mapx »

Ares2 wrote:The filter worked for you two days ago and it doesn't work now? Are you sure you haven't accidentally disabled the filter?
very strange , indeed.

with the filter added manually, all is ok; with the filter removed, with your list (easylist), doesnt function

L.E.: now it functions ... probably when I updated the easylist its some control (duplicate elements) and didnt load the same filter I had put manually.

I remove the manual filter, I unsubscribe easylist, then subscribe, and now all is ok
Post Reply