you are viewing a single comment's thread
view the rest of the comments
[–] 35 points 1 month ago (7 children)

ok ok ok ok look I use DNS level ad blockers, I'm big in favor of them, but this is the dumbest shit ever.

Running client side JavaScript that detects when an advertisement failed to load and then popping a request to disable your ad blocker is in no way, shape, or form "spying".

Don't get me wrong, plenty of sites absolutely spy on you, and the ads themselves definitely spy on you.

But being able to detect that ads didn't load? It's completely client side and is not spying 😂

That last line is just real bad logic.

  • source
  • hideshow 7 child comments
  • [–] 11 points 1 month ago (3 children)

    yep for websites that's literally just checking if their ad element exists in the DOM tree.

    const myAdElementSelector = "#fuckingAd";
    const myAdElement = document.querySelector(myAdElementSelector);
    if (!myAdElement) return "yes user is using adblocker";
    

    simple as.

    or maybe not honestly i don't know i just wanted everyone to know i know javascript.

  • source
  • parent
  • hideshow 3 child comments
  • [–] -1 points 1 month ago (1 child)

    You're running software on my computer to check the state of the web page. That's spying.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 0 points 1 month ago*

    literally every website checks it's own state multiple times, by the very nature of how modern websites work and their functionality.

    literally the only difference here is that they are telling you about the results.

    reflow for missing assets is a simple example of why a site might check the DOM state.

    Your position is nonsensical

  • source
  • parent
  • [–] 5 points 1 month ago (2 children)

    Even without JavaScript, back in my day doing some basic CSS stuff could effectively* do this too.

    *Background showed if image doesn't. Not hard to work around but did something if ad didn't load.

    There was better technique using CSS but I ran small band websites for basically free tickets so I wasn't chasing riches. Just hosting cost. Single small ad was enough.

  • source
  • parent
  • hideshow 2 child comments