ADB blocked by script

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
libertea
Posts: 6
Joined: Sun Oct 11, 2015 4:13 pm

ADB blocked by script

Post by libertea »

Website: http://en.firstonetv.com/index

It detects ADB using this:

Code: Select all

<script src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" type="text/javascript"></script>
<script src="/ads_300x250.js?adsize=300x250&ad=1&ad=true" type="text/javascript"></script>
<script>
$(document).ready(function() {
	setTimeout(function() {
		blocked = false;
		if (typeof(window.adsbygoogle) == 'undefined' || typeof(a45sad) == 'undefined') {
			blocked = true;
		}
		var check = document.getElementById('sidebar_ad');
		if (check) {
			var h = $('#sidebar_ad').height();
			if (h < 100) {
				//blocked = true;
			}
		}
		
		if (blocked == true) {
			$('#_body').html('<center><br><br><h3>Please disable your ad blocker, because iPhone-TV is financed by advertising!<br>Bitte deaktiviere Deinen Werbeblocker, denn iPhone-TV wird durch Werbung finanziert!</h3><a href="javascript:window.location.reload();" onclick="window.location.reload();"><b>Click here to reload the page when you have deactivated your Adblocker.<br>Klick hier wenn Du deinen Werbeblocker deaktiviert hast, um die Seite neu zu laden.</b></a></center>');
		}
	}, 1750);
});

date = new Date();
date.setTime(date.getTime() + (15 * 24 * 60 * 60 * 1000));
document.cookie = "sup" + "=" + "true" + ";" + " expires=" + date.toUTCString() + "; domain=.firstonetv.com; path=/";
</script>
What can we do to stop it?
Thank you
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: ADB blocked by script

Post by mapx »

which are the steps to reproduce the issue ? on the main page I get no issue
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: ADB blocked by script

Post by mapx »

I found a channel, it's running fine here
http://en.firstonetv.com/stream/it/2

and I get no detecting messages
libertea
Posts: 6
Joined: Sun Oct 11, 2015 4:13 pm

Re: ADB blocked by script

Post by libertea »

Tried http://en.firstonetv.com/stream/it/2 and it does not work.
ADB is detected.

Kindly, help.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: ADB blocked by script

Post by mapx »

re-tested right now in firefox, all fine here.
Then I tested in chrome, I got the detecting page, I updated my lists and now is working in chrome too.
The tests were done using only easylist.
libertea
Posts: 6
Joined: Sun Oct 11, 2015 4:13 pm

Re: ADB blocked by script

Post by libertea »

Thank you mapx!

Using Easylist, after update, it works fine
libertea
Posts: 6
Joined: Sun Oct 11, 2015 4:13 pm

Re: ADB blocked by script

Post by libertea »

something is different when embedding a channel.
It still detects ABP

Test Link: http://goo.gl/fCgT4g

Any help is appreciated.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: ADB blocked by script

Post by mapx »

Locked