Page 1 of 2

Block or hide CSS made ad

Posted: Sun Feb 27, 2011 12:52 am
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?

Re: Block or hide CSS made ad

Posted: Sun Feb 27, 2011 1:36 am
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.

Re: Block or hide CSS made ad

Posted: Sun Feb 27, 2011 1:45 am
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

Re: Block or hide CSS made ad

Posted: Sun Feb 27, 2011 1:51 am
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:

Re: Block or hide CSS made ad

Posted: Sun Feb 27, 2011 4:05 pm
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... :)

Re: Block or hide CSS made ad

Posted: Sun Feb 27, 2011 5:01 pm
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?

Re: Block or hide CSS made ad

Posted: Mon Feb 28, 2011 7:20 am
by Hubird
Michael wrote:Would someone please submit an issue report for the page?
https://reports.adblockplus.org/f074872 ... scriptions

Re: Block or hide CSS made ad

Posted: Mon Feb 28, 2011 8:10 am
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...

Re: Block or hide CSS made ad

Posted: Mon Feb 28, 2011 4:40 pm
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

Re: Block or hide CSS made ad

Posted: Mon Feb 28, 2011 6:48 pm
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.

Re: Block or hide CSS made ad

Posted: Mon Feb 28, 2011 8:57 pm
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

Re: Block or hide CSS made ad

Posted: Tue Mar 01, 2011 1:57 am
by Ares2
Good times... :mrgreen:

Re: Block or hide CSS made ad

Posted: Tue Mar 01, 2011 4:46 pm
by MonztA
:mrgreen:

Re: Block or hide CSS made ad

Posted: Wed Mar 02, 2011 10:08 am
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.

Re: Block or hide CSS made ad

Posted: Wed Mar 02, 2011 4:48 pm
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: