this post was submitted on 29 Aug 2023
626 points (98.8% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
54698 readers
376 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
I'm going to start a discussion in the comments here about methods to bypass the message. I will add suggestions here, so leave comments if you find a method!
Methods to bypass Youtube Anti-Adblock:
My Method
Install Extension Enhancer for YouTube™
Go to the extensions settings and ensure that under the Ads Management section, "Block Ads" is turned OFF
Now find the Custom Script box at the very bottom and enter the following script. I did not write this code, it comes from egaudette on GitHub
Lastly, ensure the "Automatically execute the script when YouTube is loaded in a tab" box is checked, and press Save
I'll add more methods as they are discovered!
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.
Please note that posting the script has html-encoded && <> and similar characters so you'll have to replace those with the correct ones (or just get the script from GitHub)
Thank you, thank you, thank you, thank you!!! ❤️