New way to detect ABP?
New way to detect ABP?
Hi all,
since a few days, two websites i more or less regular visit, have a probably new method to detect ABP. Each time i get there, a message window appear with the blabla to shutdown ABP.
I've searched the forum before i posted this, but i couldn't find any post including the term "spScriptLoaded" so i was so free to open a new topic.
I did also read the other posts mentioning detection-methods, but they all differ from this method. I also added easylist, didn't help.
This i think is the detection-code:
"<script type="text/javascript">
if(typeof(spScriptLoaded) == 'undefined') {
alert('Bitte Deinen Werbeblocker abschalten, sonst sind nicht alle Funktionen verfügbar!');
}"
</script>
Disabling Java-Script didn't help either.
Any hint on how to get rid of this annoying message blabla?
Thanks in advance
bymuc
since a few days, two websites i more or less regular visit, have a probably new method to detect ABP. Each time i get there, a message window appear with the blabla to shutdown ABP.
I've searched the forum before i posted this, but i couldn't find any post including the term "spScriptLoaded" so i was so free to open a new topic.
I did also read the other posts mentioning detection-methods, but they all differ from this method. I also added easylist, didn't help.
This i think is the detection-code:
"<script type="text/javascript">
if(typeof(spScriptLoaded) == 'undefined') {
alert('Bitte Deinen Werbeblocker abschalten, sonst sind nicht alle Funktionen verfügbar!');
}"
</script>
Disabling Java-Script didn't help either.
Any hint on how to get rid of this annoying message blabla?
Thanks in advance
bymuc
Re: New way to detect ABP?
Disaling JS has to work - without JS enabled, this script wouldn't even run.
Can you share a link to the site you mean please?
Can you share a link to the site you mean please?
This site for example is using it:
http://www.the-new-generation.ws/
Correction to Javascript:
Yes, disabling helps. Don't know why it
didn't yesterday.
This is, i think, where this crap came from:
http://forum.layer-ads.de/programmierun ... ideen.html
Not really helpful i guess since this site is in german.
Any other workaround besides disabling JS?
Thanks
http://www.the-new-generation.ws/
Correction to Javascript:
Yes, disabling helps. Don't know why it
didn't yesterday.
This is, i think, where this crap came from:
http://forum.layer-ads.de/programmierun ... ideen.html
Not really helpful i guess since this site is in german.
Any other workaround besides disabling JS?
Thanks
Thanks.bymuc wrote:This site for example is using it:
http://www.the-new-generation.ws/
No problem, I'm pretty fluent in my native tongueThis is, i think, where this crap came from:
http://forum.layer-ads.de/programmierun ... ideen.html
Not really helpful i guess since this site is in german.

Sort of. This detection method checks for ABP the usual way, looking for a variable set in an adscript.Any other workaround besides disabling JS?
(lines 10 and 11 in http://layer-ads.de/ia1-12824-7189df09f ... 60f5c88.js ), so if you
whitelist that script, it will stop nagging you. But then you'll probably see some ads too.
Hi,
like you suggested i tried to whitelist. The following whitelisting worked:
http://layer-ads.de/la-12824.js
not working:
"http://layer-ads.de/la-12824-8b2e4d63b1 ... de680f2.js"
Okay, which i guess is logic, since with the blacklisting of "http://layer-ads.de/la-12824.js" the script doesn't even come that far.
Sorry if i write dumb things - my Programming-Skills are still based and limited to good 'ol DOS
)
Damn thing on allowing "la-12824.js" is, as you already suspected, i get an even more annyoing white pop-up over half the screen. The ads within this white pop-up are still blocked!
Thanks for the help so far.
Maybe i should try this ff-addon "Noscript".
like you suggested i tried to whitelist. The following whitelisting worked:
http://layer-ads.de/la-12824.js
not working:
"http://layer-ads.de/la-12824-8b2e4d63b1 ... de680f2.js"
Okay, which i guess is logic, since with the blacklisting of "http://layer-ads.de/la-12824.js" the script doesn't even come that far.
Sorry if i write dumb things - my Programming-Skills are still based and limited to good 'ol DOS

Damn thing on allowing "la-12824.js" is, as you already suspected, i get an even more annyoing white pop-up over half the screen. The ads within this white pop-up are still blocked!

Thanks for the help so far.
Maybe i should try this ff-addon "Noscript".
nasty, the url http://layer-ads.de/la-12824.js keeps randomly changing.
I wonder if it would be as easy to whitelist
or.. maybe not *ugly popup shows*, unfortunately the popup will show up, no way around it if you use that whitelist.
I wonder if it would be as easy to whitelist
Code: Select all
@@http://layer-ads.de/la-$script
-
- Posts: 183
- Joined: Thu Aug 16, 2007 4:42 pm
- Location: Toronto, Ontario, Canada
- Contact:
I tried whitelisting their scripts with a blanked $script filter but that opens up no end of nasty crap (that is blocked) and a boat load of DIV's with random ID's and classes along with an animated window that you can element hide, but first it'll animate it's way across the screen... I'm bored and have nothing to do so I think I'll sit on this for a bit and see if I can get any definitive block list setup for it. Now if only ABP allowed you to spoof script variable values... 

-
- Posts: 183
- Joined: Thu Aug 16, 2007 4:42 pm
- Location: Toronto, Ontario, Canada
- Contact:
Right the following filters might break some other sites but for now they have (after 1,000+ page refreshed) held up against layer ads' randomization.
These would of course need testing extensively before they made it into a filter list but they're working fine here and any divs at those positions listed above will be annoying advertisements anyway from experience... so all should be well. Like I said it's not perfect but it'll do for a quick fix, the big white div on the page linked by the OP is not blockable due to the random ID/CLASS and nothing of use to block 
Code: Select all
@@layer-ads.de/$script
#DIV(id=)(class=)(style=display: block; left: 10px;)
#DIV(id=)(class=)(style=display: block; top: 10px;)
#DIV(onmouseout*=t0)(onmouseover*=t0)(onclick^=return )
#DIV(id=)(style=display:block;left:10px;top:10px;)
#DIV(id=)(style=display: block; left: 10px; top: 10px;)
##DIV[id][style="display: block; left: 10px;"]
*layer-ads*

i found this code the most effective,
Code: Select all
the-new-generation.ws##DIV[id]
@@http://layer-ads.de/la-$script
*layer-ads.*
Code: Select all
@@|http://layer-ads.de/la-$script
/layer-ads.
the-new-generation.ws#div(style^=display: block)
It was a little tricky .... ya just got to find that 'magic' line. I always try to work from the top level down. Cutting pieces out one-by-one just isn't the way to do it. Jamie had it ... he just didn't find that one common 'upper level' piece.fanboy wrote:hehe
so much better than Jamie's 8 lines of code

-
- Posts: 183
- Joined: Thu Aug 16, 2007 4:42 pm
- Location: Toronto, Ontario, Canada
- Contact: