Integrate adblock detector in website

Dominik L Posted in Component Development 4 months ago

Can somepne help me integrate https://blockadblock.com/ into my login-page?

Should be shown only when not logged in.

Sadly, AdBlock plugins in browser are blocking my push notifications service, so I want to use this AdBlock detector, it has an option to disable AdBlock OR just continue without using the push notifications.

The code is complete, just needs to be implemented if user is not logged in.

Code is too long for ossn website, so i share it here:
https://codefile.io/f/kUNzjqfLV7

Replies
Indonesian Arsalan Shah Replied 3 months ago

Then code is not working there is nothing we can do about it dear.

German Dominik L Replied 3 months ago

yeah i tried, it's not working

Indonesian Arsalan Shah Replied 3 months ago

You need to copy a inner part without <script> and </script> tags

German Dominik L Replied 3 months ago

Yes, i tried. Not working

Indonesian Arsalan Shah Replied 3 months ago

Did you tried to insert this in your custom js?