How to stop JavaScript

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

How to stop JavaScript

Post by EvGeniyLell »

How to stop JavaScript in html body

<html>
...
<script>method of detection "AdBlock Plus" and blocking site</script>
<html>
EvGeniyLell

Re: How to stop JavaScript

Post by EvGeniyLell »

site
http://kurs.com.ua/forum/


script(part)

Code: Select all

if(!document.getElementsByClassName) return;
var ads = document.getElementsByClassName('afs_ads'),
ad  = ads[ads.length - 1];
if(!ad || ad.innerHTML.length == 0 || ad.clientHeight === 0) {
   removejscssfile(".css", "css");
   new Ajax.Request( 'http://kurs.com.ua/ajax/test_count', {method: 'get'});
   alert(message);
} else {
   ad.style.display = 'none';
}
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: How to stop JavaScript

Post by mapx »

if still happens, try this filter

Code: Select all

kurs.com.ua#@#.afs_ads
EvGeniyLell

Re: How to stop JavaScript

Post by EvGeniyLell »

but it makes it visible (not blocked from advertising)
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: How to stop JavaScript

Post by mapx »

strange thing: I don't get anymore that class afs_ads (I got it for the first tests, the messagge for adblock stuff was gone, but then ...nothing), could be they added some geographic verification stuff

after adding that exception filter I didn't see any ad

what browser are you using ? if firefox, submit an issue report and post here the report's link
Locked