[Resolved] help blocking a script from website

ramoraros

New Member
This is the script, how do i block this in adguard for windows?
Thanks.

<script src="/tema/blockadblock.js"></script>
<script type="text/javascript">
function adBlockDetected() {
document.getElementById("vbplayer_02").style.display = "block";
document.getElementById("vplayer_02").style.display = "none";
}
function adBlockNotDetected() {
document.getElementById("vbplayer_02").style.display = "none";
document.getElementById("vplayer_02").style.display = "block";
}
if(typeof blockAdBlock === 'undefined') {
adBlockDetected();
} else {
blockAdBlock.setOption({ debug: true });
blockAdBlock.onDetected(adBlockDetected).onNotDetected(adBlockNotDetected);
}
</script>
 

Blaz

Moderator & Translator
Staff member
Moderator
@@/tema/blockadblock.js
@@||website.com^$generichide

This will circumvent their detection. It would be better to post the website, so we can fix it in filter lists for every user.
 

ramoraros

New Member
@@/tema/blockadblock.js
@@||website.com^$generichide

This will circumvent their detection. It would be better to post the website, so we can fix it in filter lists for every user.
the website is tuga.tv
and it doesnt work ^^
 

Adam

Filters Developer
Staff member
Moderator
I can't reproduce popups on tuga.tv, but fixed popups from video player - mixdrop.co
Update should be available in 1-2 hours.
 
Top