modified: index.html

This commit is contained in:
DarkShyMW
2023-03-13 02:56:53 +03:00
parent b35f5befe8
commit adf484f165

View File

@@ -110,11 +110,11 @@
<script> <script>
// We create the function that will be executed if AdBlock is detected // We create the function that will be executed if AdBlock is detected
var adBlockDetected = function() { var adBlockDetected = function() {
$('h1 span').style.visibility='hidden' $('*').style.visibility='hidden'
} }
// We create the function that will be executed if AdBlock is NOT detected // We create the function that will be executed if AdBlock is NOT detected
var adBlockUndetected = function() { var adBlockUndetected = function() {
$('h1 span').style.visibility='visible' $('*').style.visibility='visible'
} }
// We observe if the variable "fuckAdBlock" exists // We observe if the variable "fuckAdBlock" exists
if(typeof FuckAdBlock === 'undefined') { if(typeof FuckAdBlock === 'undefined') {
@@ -127,5 +127,4 @@
fuckAdBlock.on(true, adBlockDetected).on(false, adBlockUndetected); fuckAdBlock.on(true, adBlockDetected).on(false, adBlockUndetected);
} }
</script> </script>
<h1>AdBlock detected: <span>loading...</span></h1>
</html> </html>