Do they get some kind of real-time feed that tells them “hey this URL popped up in the web today, but it is a tracker, so block it”, or is this exercise is mostly helped by the crowd ?

  • slazer2au
    link
    fedilink
    English
    7410 months ago

    Regular expression magic.

    A lot of ad networks have a pattern to the name or the window the advert appears in.

    Using regular expression you can find just the adwindow and ignore the actual content.

    Now what is regular expression? A wizard language.
    ask any programmer about RE after 4 beers and watch the hate wash over their face.

    • @JPAKx4
      link
      English
      3610 months ago

      I love regex, I’m not even gonna lie. To be fair, my expressions haven’t been 50+ characters long, but still.

    • @some_guy
      link
      English
      19
      edit-2
      10 months ago

      The first language I learned was Perl, so regex are very close to my heart. I’m also quite excitable when I drink (I’m a happy drunk), so ask me and I’ll give you a very enthusiastic explanation while not noticing that you aren’t interested in my detailed explanation and examples. Do it. I dare ya.

    • Mbourgon everywhere
      link
      fedilink
      English
      1110 months ago

      Zawinski’s second law - “Sometimes a person looks at a problem and says ‘I know what I’ll do, I’ll use regular expressions’. And now they have two problems.”

  • @PeleSpirit@lemmy.world
    link
    fedilink
    English
    2410 months ago

    I thought they could just tell by the code if they had a pop up or not and they just have to stay updated on how they keep changing the way they’re presented. I could be wrong though.

    • walden
      link
      fedilink
      English
      2210 months ago

      Maybe a general pop-up blocker which is built into modern browsers now, but something that blocks tracking and ads (for example uBlock Origin, AdGuard Home, PiHole…) works off of a list which is kept up to date by crowdsourcing. I’ve never contributed to one of these efforts, but there are lots of people dedicated to the cause.

      • @PeleSpirit@lemmy.world
        link
        fedilink
        English
        1010 months ago

        So there’s like a Wikipedia crew of ad blocker contributors? I had no idea, that’s pretty cool. Thank you adblock crew.

    • @JPAKx4
      link
      English
      110 months ago

      The problem with this approach is that the companies will just change the way ads are shown. DNS blocking is impossible to stop, provides you block every ad website.

      • @thantik@lemmy.world
        link
        fedilink
        English
        11
        edit-2
        10 months ago

        DNS blocking is easy to stop, you just host the ads on the same domain instead of putting them on a subdomain. There are plenty of ways to do this already. Only reason it works right now is that lots of them have their own separate ad domain that they host from.

        • Apathy Tree
          link
          fedilink
          English
          210 months ago

          I hate Amazon for this, and won’t use their apps or pages if I can avoid it (including the amazingly brief foray into the Amazon App Store years ago which only served ads from Amazon domains)

          Because so much of the world runs off Amazon I really can’t block that domain effectively without breaking large portions of the internet. Tho now that I’m not using Amazon actively for anything, the broken-ness might be fine. Guess we’ll find out!

  • WaLLy3K
    link
    fedilink
    English
    1310 months ago

    As someone who runs a popular blocklist collection, I’ve come to find that most of the MASSIVE lists are people who collate a whole bunch of lists together and then promote their “one size fits all” solution alongside their donation link. There are very few original high quality ad-blocking lists maintained (where originality is defined as a sizeable amount of unique entries not shared by other lists) and almost all don’t appear to openly discuss the magic sauce behind their lists, outside of the obvious case of user submissions.

  • @bstix@feddit.dk
    link
    fedilink
    English
    710 months ago

    The easy way would be to make a website sign up for all the ads and see what happens. Subtract your website from the data and there’s the ads.

  • ivanafterall
    link
    fedilink
    -510 months ago

    The real answer will probably end up being that they ARE the ad companies in disguise.