Adblock Detecting
Adblock Detecting
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
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
Re: Adblock Detecting
That's the responsible code for the detection:
Maybe someone else know how to beat it, as I don't have time for it now.
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>
Re: Adblock Detecting
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 

________________________________
ABP Subscriptions
ABP Development Builds
Submit an issue report with Adblock Plus
ABP Subscriptions
ABP Development Builds
Submit an issue report with Adblock Plus
Re: Adblock Detecting
it does...sorta... I use it for when I need to download something from hotfile.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
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.
Re: Adblock Detecting
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.
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.
________________________________
ABP Subscriptions
ABP Development Builds
Submit an issue report with Adblock Plus
ABP Subscriptions
ABP Development Builds
Submit an issue report with Adblock Plus
Re: Adblock Detecting
Yea this site isn't worth the trouble. Would wait a hour to get what I want/need then use this site.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.
J for you, instead of skipscreen malware
Hubird wrote:I use it for when I need to download something from hotfile..
have you triedHubird wrote: find an alternative service without such harsh and annoying advertising tactics.
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.
prior thread today for me
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.
So today I learned both NoScript and platypus can be used to divert script function: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>
NoScript: Surrogate Scripts:
http://hackademix.net/2009/01/25/surrog ... analytics/
I'd like to see solutions for OP with both

Re: Adblock Detecting
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/*

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/*

Re: Adblock Detecting
I'm trying out a cleaned-up version of your rules:It turned that that it didn't work, but a much craftier rule did, even while keeping all my existing subscriptions intact: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.
Code: Select all
||popadscdn.net/*.js|
||zedo.com/jsc/
||ads.lzjl.com^
||clicksor.com/newServing/
@@||serw.clicksor.com/newServing/showbanner.php
Code: Select all
@@||rapid8.com/*/adsense.js|
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.
- Gingerbread Man
- Posts: 1339
- Joined: Fri Aug 12, 2011 5:28 am
Re: Adblock Detecting
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: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
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.Hubird wrote:I suggest boycotting them completely, surely you must be able to find an alternative service without such harsh and annoying advertising tactics.