[Modify] Ad-Blocker Update

This commit is contained in:
Kanani Nirav
2023-12-01 16:14:58 +09:00
parent cb066407d8
commit 9746cbfadc
2 changed files with 13 additions and 1 deletions

View File

@@ -24,7 +24,7 @@
<image src='./exclamation-mark.png' class='img' />
<h2>AdBlock Detected!</h2>
<p>Sorry. We detected that you have activated Ad-Blocker. <br />
Please Consider supporting us by disabling your Ad-Blocker It helps us in maintaining this website.<br />
Please Consider supporting us by disabling your Ad-Blocker It helps us in maintaining this website.<br />
To View the content disable Ad-Blocker and refresh the page. Thank You !!!</p>
`;
document.body.appendChild(adp);
@@ -34,6 +34,13 @@
document.body.removeChild(adp);
};
}
function uBlockActive(){
if ( window.adsbygoogle.push.length > 0) {
return false
}
adBlockFunction();
}
</script>
<style>
.img{