Adblock Detecting

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

Adblock Detecting

Post by tj »

I have notice a few site using this within the past week. Will there be a fix for all sites doing this?

Example
http://www.rapid8.com does it when you go to
http://www.rapid8.com/stage2.php and directs you to
http://www.rapid8.com/why.php
MonztA
ABP Developer
Posts: 3957
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Re: Adblock Detecting

Post by MonztA »

That's the responsible code for the detection:

Code: Select all

<script type="text/javascript">

if (document.getElementById('addd').clientHeight < 20) {
    location.href = 'http://rapid8.com/why.php';
}
else if (document.getElementById('adddd').clientHeight < 20) {
    location.href = 'http://rapid8.com/why.php';
}
</script>
Maybe someone else know how to beat it, as I don't have time for it now.
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: Adblock Detecting

Post by Hubird »

When I disable ABP to test what the site is supposed to do all I get is a crazy amount of ads and pop-ups and pop-unders and redirects. I wonder if this site actually does anything at all apart from serve ads :?
tj

Re: Adblock Detecting

Post by tj »

Hubird wrote:When I disable ABP to test what the site is supposed to do all I get is a crazy amount of ads and pop-ups and pop-unders and redirects. I wonder if this site actually does anything at all apart from serve ads :?
it does...sorta... I use it for when I need to download something from hotfile.

Is there a way to make the the ads go all white/transparent and not collapse it?
It checks the dimensions of the spot the ad is in, so if its shorter then what it should be it redirects.
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: Adblock Detecting

Post by Hubird »

Not with ABP, anything we do to the ads will trigger the redirect.

If we hide or block them then the space has changed. Probably a greasemonkey script is in order.

I suggest boycotting them completely, surely you must be able to find an alternative service without such harsh and annoying advertising tactics.
Guest

Re: Adblock Detecting

Post by Guest »

Hubird wrote:Not with ABP, anything we do to the ads will trigger the redirect.

If we hide or block them then the space has changed. Probably a greasemonkey script is in order.

I suggest boycotting them completely, surely you must be able to find an alternative service without such harsh and annoying advertising tactics.
Yea this site isn't worth the trouble. Would wait a hour to get what I want/need then use this site.
ads are unhealthy

J for you, instead of skipscreen malware

Post by ads are unhealthy »

Hubird wrote:I use it for when I need to download something from hotfile..
Hubird wrote: find an alternative service without such harsh and annoying advertising tactics.
have you tried
http://sourceforge.net/projects/jdownloader/
http://jdownloader.org/

SkipScreen, a firefox extension, is still plagued with malware ideology. If you use that be sure to disable its "enhanced" search "features". If they are actually designed to benefit the user while profiting the developer the user should have to OPT to enable them, and not have "features" inflicted unknowingly only later to "opt" out. Such malware "features" should not be included in an extension let alone be approved for hosting by an AMO editor.

jdownloader is even battling hotfile ... and winning :)
http://board.jdownloader.org/forumdisplay.php?f=13

But I am intrigued to see a greasemonkey solution. Some people somehow use platypus to find- and disable undesirable JS functions or scripts.
enesay

prior thread today for me

Post by enesay »

ads are unhealthy wrote: But I am intrigued to see a greasemonkey solution. Some people somehow use platypus to find- and disable undesirable JS functions or scripts.
MonztA wrote:That's the responsible code for the detection:

Code: Select all

<script type="text/javascript">

if (document.getElementById('addd').clientHeight < 20) {
    location.href = 'http://rapid8.com/why.php';
}
else if (document.getElementById('adddd').clientHeight < 20) {
    location.href = 'http://rapid8.com/why.php';
}
</script>
So today I learned both NoScript and platypus can be used to divert script function:

NoScript: Surrogate Scripts:
http://hackademix.net/2009/01/25/surrog ... analytics/

I'd like to see solutions for OP with both :)
AdblockFiddler

Re: Adblock Detecting

Post by AdblockFiddler »

I've found a way to use AdBlock AND Rapid8

As the webmaster states, it is not ok to hide the banners. He said nothing about the popups - which are naggy as hell.

Simply deactivate ALL filter subscriptions and add following custom filters:

ALLOW:
@@|http://serw.clicksor.com/newServing/showbanner.php?*

DISALLOW:
http://popadscdn.net/*.js
|http://c7.zedo.com/jsc/*
|http://ads.lzjl.com/*
http://serw.clicksor.com/newServing/*
8)
thehellz

Re: Adblock Detecting

Post by thehellz »

Great, no popups anymore, thanks :)
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Adblock Detecting

Post by lewisje »

I'm trying out a cleaned-up version of your rules:

Code: Select all

||popadscdn.net/*.js|
||zedo.com/jsc/
||ads.lzjl.com^
||clicksor.com/newServing/
@@||serw.clicksor.com/newServing/showbanner.php
It turned that that it didn't work, but a much craftier rule did, even while keeping all my existing subscriptions intact:

Code: Select all

@@||rapid8.com/*/adsense.js|
rapid8 uses a global variable called "adblock" to attempt to detect content-blockers; in the head of the page it sets adblock = true; and then tries to load a file at http://rapid8.com/adss/adsense.js consisting of the line adblock = false; and then later on it uses the value of "adblock" along with a query on the height of an element with ID "cb" (to see whether it's less than 2) to determine whether to show that annoying message rather than counting down as you wanted.

This is "adblock detection" at its most basic: Try to load a file, test for something that should be true if the file were loaded, and if it's false, assume the user is using a content-blocker, and annoy the user accordingly.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: Adblock Detecting

Post by Gingerbread Man »

Hubird wrote:When I disable ABP to test what the site is supposed to do all I get is a crazy amount of ads and pop-ups and pop-unders and redirects. I wonder if this site actually does anything at all apart from serve ads :?
An astute observation. I've never been able to get it to work. I think I once got as far as getting it to fetch a file, but I wasn't able to download it.
Hubird wrote:I suggest boycotting them completely, surely you must be able to find an alternative service without such harsh and annoying advertising tactics.
Yeah, no kidding. In the past, I've ocassionally used hlusoe.info. The site layout is clean, it doesn't nag about blocking ads, and looking at the blockable items list, there's not all that much stuff blocked.
Locked