• KiranWells
    link
    fedilink
    542 years ago

    This already exists - @[email protected]’s blog already has a popup about not having an adblocker, although it is easy to dismiss. It’s probably a bad idea to block content based on not having one, as detecting ad blockers is a losing battle (as YouTube is learning).

    • @[email protected]
      link
      fedilink
      292 years ago

      i don’t really know what im talking about, but wouldn’t it be a bit easier in this case since the goal isn’t to evade the ad blocker? rather than try to detect the ad blocker, wouldn’t it be possible to design the pop up so that it’s easily detected by ad blockers (or annoyance blockers)?

      • kopper [they/them]
        link
        fedilink
        English
        8
        edit-2
        2 years ago

        If you’re not serving data from a popular ad server like google/doubleclick there will always be a false positive or two, especially with things like hosts-based ad blockers that are extremely rudimentary but work ~60-70% of the time.

        And if you manage to serve data from doubleclick then either you’re working for them or something has gone horribly wrong. In either case just putting up a script to say “please use an ad blocker” is the least of your concerns.

      • KiranWells
        link
        fedilink
        62 years ago

        Not all ad blockers remove elements from web pages, and if they acted that predictably you could detect the ad blocker by detecting whether an expected element is hidden.

        I have not looked through an ad blocker’s code, but I don’t believe it is that simple.

        • autokludge
          cake
          link
          fedilink
          English
          42 years ago

          Looking at this blogpost for a wordpress blocking plugin, it basically is just adding a bunch of css classes commonly used by ads to a div and some workarounds to support ad blockers that work by blocking files.

    • @[email protected]
      link
      fedilink
      72 years ago

      It’s not a losing battle.

      It’s like a lock on your front door: Anyone that really wants to bypass it will easily. It’s there to stop most people.

      On Reddit/Lemmy we’re exposed to mostly people that know how to, but outside a lot of people will think Adblockers are the discovery of the century when their brother in law installs it, until they need to update it and it won’t work ever again because they can’t click an update button.

    • @[email protected]
      link
      fedilink
      52 years ago

      yeah the adblock detection doesn’t work for me

      at least not in Mull with uBlock Origin on Android with AdAway (root)