This is the right answer. Most webpage servers, if they’re set up to detect adblock, only detect at the client level on the browser. They don’t check to see if their traffic is being routed through a pihole.
Comment on Average website visit in 2024
Johanno@feddit.de 9 months agoJust use ublock origin.
If you use only a pihole there should not popup any adblocker detected messages since you don’t use one.
AutistoMephisto@lemmy.world 9 months ago
Aganim@lemmy.world 9 months ago
This is incorrect. Traffic is not ‘routed through a pihole’, it is a DNS resolver which returns a localhost address for blacklisted domains. Basically it causes your browser to try to load blacklisted content from a webserver running on your local PC, which (for the average user) doesn’t exist and so it gives up.
More and more websites do detect this and it can be as simple as checking for the presence of a variable that should be set if some piece of JavaScript from an external domain was loaded. In such a case it wouldn’t matter if you refused the tracking code due to PiHole or an adblocker extension. Actually the adblocker would even have an advantage here, as it would be capable of manipulating any client-side scripts that trigger these warnings, whereas Pihole has no interaction with your browser at all.
Aganim@lemmy.world 9 months ago
They most certainly do unfortunately, I speak from experience. Haven’t delved into the specifics, but I suspect some websites check if some piece of JavaScript was loaded, if not a ‘you are using an adblocker’ message is shown. It is annoying, but as I can live without these websites they go onto my personal blacklist and I move on with my life. They need us harder than we do them.