Created
March 20, 2022 10:57
-
-
Save ichii731/2f42b6819923c8fa949ffd6285d4a700 to your computer and use it in GitHub Desktop.
Setup via CDN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="module"> | |
// You have to load as Module | |
import AdDetect from 'https://cdn.jsdelivr.net/npm/block-adblock-js'; | |
if (AdDetect.check()) { | |
// with adblock enabled | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment