• Defectus@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    5 months ago

    Using a pihole. Is there any way to circumvent the “Ad blocker detected” Prompt that denies access to view site?

    • Johanno@feddit.de
      link
      fedilink
      arrow-up
      2
      arrow-down
      6
      ·
      edit-2
      5 months ago

      Just use ublock origin.

      If you use only a pihole there should not popup any adblocker detected messages since you don’t use one.

      Edit: ok it seems certain websites do check if their ads get actually loaded. I recommend not using those sites or use ublock origin to block the anti adblock popup. And as far I can tell this is illegal in the EU. So I don’t encounter this issues.

      • Aganim@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        edit-2
        5 months ago

        They most certainly do unfortunately, I speak from experience. Haven’t delved into the specifics, but I suspect some websites check if a piece of JavaScript or other resource 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.

      • AutistoMephisto@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        8
        ·
        5 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
          5 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
          ·
          5 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.