Im using Adguard (Windows)
Can you tell me where to add the filter because i use this program only a week.
(I have Anti-Adblock Killer installed in Adguard)
@jspenguin2017
anti adblock script
$(document).ready(function(){
setTimeout(function(){
console.log(document.getElementsByTagName("iframe").item(0));
console.log(document.getElementsByTagName("iframe").item(1));
console.log(document.getElementsByTagName("iframe").item(2));
// detect adblocker
if(document.getElementsByTagName("iframe").item(2) === null){
$("#hiddensection2").html("<h3><i style='color: #c41f1f;' class='fa fa-hand-paper-o'></i> AdBlock is enabled</h3><h4>AdBlock disrupt website functionality, if you face any problem, try to Disable AdBlock. You can <a href='https://www.up-4ever.com/?op=payments' target='_blank'>Upgrade your account to hide all Ads</a>.</h4>").show();
console.log('ADBLOCK HERE');
}else{
$("#hiddensection").delay(3000).slideToggle(500);
}
}, 1500);
});
Hum, we can just patch setTimeout.
Added to Script.
if (a.domCmp(["up-4ever.com"])) {
a.filter("setTimeout", /console\.log\(document\.getElementsByTagName/);
a.ready(function () {
a.$("#hiddensection").show();
});
}
Thanks, still there's a countdown, need to warp it.
adding these kills the detection and the seconds
a.noAccess("adsDisabled");
a.readOnly("remaining", "0");
Countdown only goes away if we refresh it for the second time after doing the captcha with that solution, you need to remove the countdown from the beginning.
Well, looks like I need to have a closer look. I opened an issue in my repository.
Please can u tell me where to add this lines in script
http://i.imgur.com/4xgZTZa.png
Hi, those lines are using AdBlock Protector Core, so install AdBlock Protector here: https://jspenguin2017.github.io/AdBlockProtector/
Note that solution for this website is a work-in-progress, it doesn't behave perfectly.
@jspenguin2017 thank u very very much ... working my best friend
Most helpful comment
Hi, those lines are using AdBlock Protector Core, so install AdBlock Protector here: https://jspenguin2017.github.io/AdBlockProtector/
Note that solution for this website is a work-in-progress, it doesn't behave perfectly.