Block or hide CSS made ad

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList

Block or hide CSS made ad

Postby SwampBear » Sun Feb 27, 2011 1:52 am

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?
SwampBear
 
Posts: 2
Joined: Sun Feb 27, 2011 1:47 am

Re: Block or hide CSS made ad

Postby Hubird » Sun Feb 27, 2011 2:36 am

Code: Select all
noscript.net###bs3top


Should hide it.

https://adblockplus.org/en/elemhidehelper

The above link point to the add-on I use to create the rule.
User avatar
Hubird
 
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia

Re: Block or hide CSS made ad

Postby SwampBear » Sun Feb 27, 2011 2:45 am

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
SwampBear
 
Posts: 2
Joined: Sun Feb 27, 2011 1:47 am

Re: Block or hide CSS made ad

Postby Hubird » Sun Feb 27, 2011 2:51 am

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:
User avatar
Hubird
 
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia

Re: Block or hide CSS made ad

Postby LorenzoC » Sun Feb 27, 2011 5:05 pm

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... :)
LorenzoC
 

Re: Block or hide CSS made ad

Postby Michael » Sun Feb 27, 2011 6:01 pm

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?
Michael
 
Posts: 1361
Joined: Sat Dec 19, 2009 1:29 pm

Re: Block or hide CSS made ad

Postby Hubird » Mon Feb 28, 2011 8:20 am

Michael wrote:Would someone please submit an issue report for the page?


https://reports.adblockplus.org/f074872 ... scriptions
User avatar
Hubird
 
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia

Re: Block or hide CSS made ad

Postby Michael » Mon Feb 28, 2011 9:10 am

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...
Michael
 
Posts: 1361
Joined: Sat Dec 19, 2009 1:29 pm

Re: Block or hide CSS made ad

Postby p2u » Mon Feb 28, 2011 5:40 pm

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
p2u
 
Posts: 39
Joined: Fri Feb 20, 2009 11:43 am

Re: Block or hide CSS made ad

Postby vasa1 » Mon Feb 28, 2011 7:48 pm

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.
vasa1
 
Posts: 76
Joined: Wed Apr 14, 2010 8:59 am

Re: Block or hide CSS made ad

Postby Adblock Plus Fan » Mon Feb 28, 2011 9:57 pm

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
User avatar
Adblock Plus Fan
 
Posts: 1255
Joined: Sat Feb 24, 2007 12:08 pm

Re: Block or hide CSS made ad

Postby Ares2 » Tue Mar 01, 2011 2:57 am

Good times... :mrgreen:
Ares2
 
Posts: 1275
Joined: Fri Feb 15, 2008 1:47 pm

Re: Block or hide CSS made ad

Postby MonztA » Tue Mar 01, 2011 5:46 pm

:mrgreen:
MonztA
ABP IT Officer
 
Posts: 3957
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Re: Block or hide CSS made ad

Postby LorenzoC » Wed Mar 02, 2011 11:08 am

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

Re: Block or hide CSS made ad

Postby Ares2 » Wed Mar 02, 2011 5:48 pm

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:
Ares2
 
Posts: 1275
Joined: Fri Feb 15, 2008 1:47 pm

Next

Return to Filters for Adblock Plus

Who is online

Users browsing this forum: No registered users and 8 guests