We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug If the user is using tamper monkey to block ad, it can't be detected by this package
To Reproduce
// ==UserScript== // @name test adsense // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match http://localhost:3000/* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @grant none // ==/UserScript== (function() { 'use strict'; window.addEventListener('load', function () { document.querySelectorAll('.adsbygoogle').forEach(a => a.remove()) }) })();
Expected behavior It should be detected.
Screenshots If applicable, add screenshots to help explain your problem.
Please complete the following information:
Additional context possible to add some patch in useEffect code to detect
setTimeout(() => { const nodes=document.querySelectorAll(".adsbygoogle"); if(nodes.length === 0) { setAdBlockDetected(true); } }, 3000);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
If the user is using tamper monkey to block ad, it can't be detected by this package
To Reproduce
Expected behavior
It should be detected.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
Additional context
possible to add some patch in useEffect code to detect
The text was updated successfully, but these errors were encountered: