adblock-detect-react
adblock-detect-react copied to clipboard
Package not detecting Brave shields ad blocker
Describe the bug
It seems that the package currently does not detect when ads are blocked using brave shields.
To Reproduce
Steps to reproduce the behaviour:
- Go to https://adblock-detect-react.vercel.app/ using a brave browser.
- Enable brave shields.
- See the ad blocker not being detected.
Expected behaviour
The brave shields adblocker should be detected.
Please complete the following information:
- OS: Linux.
- Browser: Brave
- Browser Version: Version 1.48.158 Chromium: 110.0.5481.77 (Official Build) (64-bit)
- Package Version: v1.1.0
Additional context
I tried to find a way to detect when ad blocking is enabled in brave but could not yet find a way. There seems to be a bold object on the navigator, but it doesn't contain any shield information (see https://github.com/brave/brave-browser/issues/10165#issuecomment-641128278).
It looks like it's not working for any browsers I'm using. I get the same output no matter what with and without ad blocking running.
Also does not detect uBlock Origin using any browser
Don't fall for this 🙏
I reported this to GitHub.
Hopefully the maintainer of this repo takes down the issue
