Open rickstaa opened 1 year ago
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.
Thanks for the report. Which blocker are you using? It seems to work for Ublockplus on chrome:
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
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:
Expected behaviour
The brave shields adblocker should be detected.
Please complete the following information:
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).