this post was submitted on 08 Sep 2023
1 points (100.0% liked)

Explain Like I'm Five

14220 readers
1 users here now

Simplifying Complexity, One Answer at a Time!

Rules

  1. Be respectful and inclusive.
  2. No harassment, hate speech, or trolling.
  3. Engage in constructive discussions.
  4. Share relevant content.
  5. Follow guidelines and moderators' instructions.
  6. Use appropriate language and tone.
  7. Report violations.
  8. Foster a continuous learning environment.

founded 1 year ago
MODERATORS
 

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 ?

top 7 comments
sorted by: hot top controversial new old
[–] slazer2au@lemmy.world 1 points 1 year ago (2 children)

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.

[–] Scubus@sh.itjust.works 0 points 1 year ago (1 children)

Decade of c# game design under my belt, but never dealt with web scripting. Am I missing out?

[–] slazer2au@lemmy.world 1 points 1 year ago

You are missing out on headaches.

[–] JPAKx4@lemmy.sdf.org 0 points 1 year ago (1 children)

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

[–] Zikeji@programming.dev 1 points 1 year ago

Same, I've never understood the hate. But then again I memorize based off of patterns and regex in my brain is just a pattern.

[–] WaLLy3K@infosec.pub 1 points 1 year 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 1 points 1 year 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.