Block or hide CSS made ad

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
SwampBear
Posts: 2
Joined: Sun Feb 27, 2011 12:47 am

Block or hide CSS made ad

Post by SwampBear »

On this page: http://noscript.net/ there is an advert up top that says "PC slowing you down? Free Scan". It won't let me adblock it.

I looked at the source code of the page and it seems instead of linking to an image... they used the image source code and had CSS render it back into an image?! an seemingly un-blockable image too!

How would I go about blocking or hiding this advert?
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: Block or hide CSS made ad

Post by Hubird »

Code: Select all

noscript.net###bs3top
Should hide it.

en/elemhidehelper

The above link point to the add-on I use to create the rule.
SwampBear
Posts: 2
Joined: Sun Feb 27, 2011 12:47 am

Re: Block or hide CSS made ad

Post by SwampBear »

Oh wow, that did the trick, thank you. I have that addon installed already, didn't know how to use it exactly, but that link explained how to use it though :D
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: Block or hide CSS made ad

Post by Hubird »

I don't think the NoScript guys take to kindly too there ads being blocked / hidden so you better get acquainted with the EHH :lol:
LorenzoC

Re: Block or hide CSS made ad

Post by LorenzoC »

It does not work for me.
I guess Maone is using some parametric trick for avoiding obvious blocking/hiding.

I would use something a bit more radical like:
noscript.net##DIV#left-side

It nukes the whole left column that includes the Noscript logo and the "install" button.
When the game gets though... :)
Michael
Posts: 1361
Joined: Sat Dec 19, 2009 12:29 pm

Re: Block or hide CSS made ad

Post by Michael »

I don't actually encounter the unwanted image on the page, although I suspect that the obvious descriptors of the item, such as id, are being continuously altered by the server. Would someone please submit an issue report for the page?
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: Block or hide CSS made ad

Post by Hubird »

Michael wrote:Would someone please submit an issue report for the page?
https://reports.adblockplus.org/f074872 ... scriptions
Michael
Posts: 1361
Joined: Sat Dec 19, 2009 12:29 pm

Re: Block or hide CSS made ad

Post by Michael »

The report actually shows two adverts which I do not encounter: one in the centre of the page and one at the top. I wonder why the adverts are not displayed when I visit...
p2u
Posts: 39
Joined: Fri Feb 20, 2009 10:43 am

Re: Block or hide CSS made ad

Post by p2u »

SwampBear wrote:How would I go about blocking or hiding this advert?
data:image? - By default, these are white-listed in ABP (not listed in the blockable items).
You could delete "data" from

Code: Select all

extensions.adblockplus.whitelistschemes
Restart your browser for this measure to take effect. Now you will see them listed (three of them) and you can block them if you really want to.
P.S.: Just checked. The one in the middle is the "PC slowing you down? Free Scan" item.

Paul
vasa1
Posts: 76
Joined: Wed Apr 14, 2010 8:59 am

Re: Block or hide CSS made ad

Post by vasa1 »

SwampBear wrote:On this page: http://noscript.net/ there is an advert up top that says "PC slowing you down? Free Scan". It won't let me adblock it.

I looked at the source code of the page and it seems instead of linking to an image... they used the image source code and had CSS render it back into an image?! an seemingly un-blockable image too!

How would I go about blocking or hiding this advert?
That's a data URL. So you download it even if you don't see it on your screen somehow.
User avatar
Adblock Plus Fan
Posts: 1255
Joined: Sat Feb 24, 2007 11:08 am

Re: Block or hide CSS made ad

Post by Adblock Plus Fan »

I remember the last time we clashed with the Noscript guys, it escalated into a wildfire across the entire Firefox community, and Mozilla had to step in officially because Noscript extension messed with ABP functionality. :P
Ares2
Posts: 1275
Joined: Fri Feb 15, 2008 12:47 pm

Re: Block or hide CSS made ad

Post by Ares2 »

Good times... :mrgreen:
MonztA
ABP Developer
Posts: 3957
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Re: Block or hide CSS made ad

Post by MonztA »

:mrgreen:
LorenzoC

Re: Block or hide CSS made ad

Post by LorenzoC »

Anyway I insist that given the nature of the site, three "nuke" rules would work fine:
noscript.net##DIV#donation2
noscript.net##DIV#head
noscript.net##DIV#left-side

First removes the "donate" area.
Second removes the whole page header.
Third removes the whole left column.

Site contents are still accessible.
Ares2
Posts: 1275
Joined: Fri Feb 15, 2008 12:47 pm

Re: Block or hide CSS made ad

Post by Ares2 »

You don't have to go that far, there are a way better rules that only target the ads - you just have to try a little bit harder. :wink:
Locked