From 9746cbfadcbc8d9b51563949c6449c3a8ab28ef7 Mon Sep 17 00:00:00 2001 From: Kanani Nirav Date: Fri, 1 Dec 2023 16:14:58 +0900 Subject: [PATCH] [Modify] Ad-Blocker Update --- _includes/head-custom-google-analytics.html | 9 ++++++++- _layouts/default.html | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/_includes/head-custom-google-analytics.html b/_includes/head-custom-google-analytics.html index d88dd19..c27c40e 100644 --- a/_includes/head-custom-google-analytics.html +++ b/_includes/head-custom-google-analytics.html @@ -24,7 +24,7 @@

AdBlock Detected!

Sorry. We detected that you have activated Ad-Blocker.
- Please Consider supporting us by disabling your Ad-Blocker It helps us in maintaining this website.
+ Please Consider supporting us by disabling your Ad-Blocker It helps us in maintaining this website.
To View the content disable Ad-Blocker and refresh the page. Thank You !!!

`; document.body.appendChild(adp); @@ -34,6 +34,13 @@ document.body.removeChild(adp); }; } + + function uBlockActive(){ + if ( window.adsbygoogle.push.length > 0) { + return false + } + adBlockFunction(); + }