Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyang0507 committed Nov 27, 2024
1 parent c36c0e6 commit 0b0bec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CheckAdBlocked.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
// check ad block init
if (window._AdBlockInit === undefined) {
console.log("ADBlock detected, cause window._AdBlockInit is undefined");
console.log("ADBlock detected, cause window._AdBlockInit undefined");
hasAdBlockDetected = true;
return;
}
// check script banned
checkAdScriptBanned('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js');
checkAdScriptBanned('https://log.mmstat.com/eg.js');
}
function checkAdScriptBanned(scriptUrl) {
Expand Down

0 comments on commit 0b0bec0

Please sign in to comment.