Adblock detection circumvention?

Good Morning, Everyone!

I was curious to know if anyone had developed a whitelist I could subscribe to in much the same manner as a blacklist for the following:

I am noticing more and more websites are getting more and more aggressive in not showing their content if they detect an Adblock is being used. I believe many of them achieve this by using an unrelated website to see if the client requesting can access that, and if not, it refuses to load the page.

Therefore, I would love to know if someone has started to aggregate these domains so that we could whitelist those and yet still retain the blocking of the ads surrounding their content?

If this isn't a viable approach, I would certainly welcome alternative solutions that others have found. Thanks in advance!

Most of the times, the detection is just a script that checks if some things (like ads) were loaded. If not loaded, the script shows the message.

If the script is served from a different domain, than you can try to block it, but you first need to find what script is doing it.

If the script is served from the same domain as the content, then you can't block it without also blocking the content.

So is there just not a particularly good solution to this? Is there not a way to somehow automate the detection of instances like this and "fool" those scripts? Thanks!

Probably not with just Pi-hole. I use browser plugins to help mitigate this issue. It's not perfect, but it does help a little. The extensions can inspect the 'payload' of a web site and filter out elements that Pi-hole just can't. Pi-hole is a filtering DNS server only. It can just block/filter entire domains, not the content they serve.

Have you tried the 'Annoyances' option in uBlock Origin ?

It's near the bottom of the 'Filter lists' configuration :slight_smile:

There are options if you use a browser extension.

Browser extensions can see the content of pages and scripts, which makes possible to do what you want.

On the other hand, Pi-hole is a DNS server and only sees domains. A DNS server doesn't know if a domain is used to download a script a video, or whatever kind of content, so there is no way to detect anything.