this post was submitted on 29 Aug 2023
626 points (98.8% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
54772 readers
415 users here now
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Why would this work when others get blocked? Is it a novel way to block YT ads that's not popular? Because I think YT isn't looking for specific extensions but looking for certain kinds of behavior.
This method lets ads load for half a second but then get skipped instantly. i have not personally found a way to 100% block ads once ive gotten their block page.
I use greasemonkey to do a similar trick with the skip and dismiss buttons. But added random delays up to 2 seconds in an attempt to mimic a human clicking the button.
Also instead of an interval running, you can use MutationObserver and a callback to only run the code when the DOM changes and adds the button.