• AutistoMephisto@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    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.

    • Aganim@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      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 loading instead.

      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.

    • not_again@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      Can confirm that with pihole you still get these. I browse with vanilla chrome on my phone at home and use a pihole, and I get these messages.