you are viewing a single comment's thread
view the rest of the 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