strawpoll.com

Honse, (edited ) do piracy w Has YouTube Blocked Your Adblocker Yet??

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:

  • The easiest method is simply to comply and turn off your adblock extension.My Method- My method, and the one that will likely work universally is as follows:

Install Extension Enhancer for YouTube™

Go to the extensions settings and ensure that under the Ads Management section, “Block Ads” is turned OFF

https://lemmy.dbzer0.com/pictrs/image/16230dc5-ade1-4c6a-b6f8-f0104a4b080d.png

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


<span style="color:#323232;">(function() {
</span><span style="color:#323232;">    'use strict';
</span><span style="color:#323232;">    var clickInterval = setInterval(skipAds, 5);
</span><span style="color:#323232;">    var ytpAdModule;
</span><span style="color:#323232;">    var miniAdd;
</span><span style="color:#323232;">    var skipButton;
</span><span style="color:#323232;">    var currentVideo;
</span><span style="color:#323232;">
</span><span style="color:#323232;">    function skipAds() {
</span><span style="color:#323232;">        ytpAdModule = document.querySelector('.ytp-ad-module');
</span><span style="color:#323232;">        skipButton = document.querySelector('button[class*="ad-skip"]');
</span><span style="color:#323232;">        miniAdd = document.querySelector('.ytp-ad-overlay-container');
</span><span style="color:#323232;">
</span><span style="color:#323232;">        if (ytpAdModule !== null &amp;&amp; ytpAdModule.innerHTML !== '') {
</span><span style="color:#323232;">            ytpAdModule.style.display = 'none';
</span><span style="color:#323232;">        }
</span><span style="color:#323232;">
</span><span style="color:#323232;">        if (skipButton !== null) {
</span><span style="color:#323232;">            skipButton.click();
</span><span style="color:#323232;">            return;
</span><span style="color:#323232;">        }
</span><span style="color:#323232;">
</span><span style="color:#323232;">        currentVideo = document.querySelector('video[class*="main-video"]')
</span><span style="color:#323232;">        if (currentVideo !== null &amp;&amp; currentVideo.duration &lt;= 5) {
</span><span style="color:#323232;">            currentVideo.muted = true;
</span><span style="color:#323232;">            currentVideo.play();
</span><span style="color:#323232;">            currentVideo.currentTime = currentVideo.duration;
</span><span style="color:#323232;">        }
</span><span style="color:#323232;">    }
</span><span style="color:#323232;">})();
</span>

Lastly, ensure the “Automatically execute the script when YouTube is loaded in a tab” box is checked, and press Save

https://lemmy.dbzer0.com/pictrs/image/10b997a8-0a72-4616-8155-0cdfc59d7b59.png


I’ll add more methods as they are discovered!

Neato,
@Neato@kbin.social avatar

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.

Honse,

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.

nilloc,

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.

Platform27, (edited ) do piracy w Has YouTube Blocked Your Adblocker Yet??

Until today I haven’t seen an ad on YT, for years. Then I searched for a video, clicked, and got an ad. Clicked off the video, restarted the browser (also updated uBlock’s filters), and that fixed it.

Edit: I wrote this and got another ad. No video, just the audio.

WtfEvenIsExistence, do piracy w Has YouTube Blocked Your Adblocker Yet??
lemann,

Admiral is the worst kind of anti adblock there is.

They buy thousands of domains at a time, with individually corresponding Google Cloud IPs to evade adblock lists. Real pain in the ass to block them, they also DMCA community blocklists containing their domains

ramjambamalam,

Sounds like DMCA abuse to me. You can’t copyright a fact. In this case, the fact that these IPs are used by a company is a fact.

RogueBanana,

When has that stopped anyone from abusing it anyway…

ArmokGoB,

People should tell them to kick rocks.

mah, do piracy w Has YouTube Blocked Your Adblocker Yet??

well, I will stop to use YouTube, and that will solve 2 problems

toiletwhole, do piracy w Has YouTube Blocked Your Adblocker Yet??
@toiletwhole@feddit.de avatar

If you are on Linux you can just use freetube. Maybe it’s also available on windows but that’s something I don’t know

orvorn,

FreeTube is available on Windows as well.

TinyPizza,
@TinyPizza@kbin.social avatar

Thanks for the recommendation. Just downloaded (just in case) and I've gotta say, I might like this enough to switch out even if they don't mess with my browser player.

twena, do piracy w Has YouTube Blocked Your Adblocker Yet??

Not from US but my uBlock has a problem with YouTube since yesterday. It blocks the ad video but the sound of it is still audible.

mah,

true

twena,

glad i’m not the only one

JelloBrains,
@JelloBrains@kbin.social avatar

I followed this from Ublock's Reddit page, it's working for now.

Current anti-adblock status: Latest fixed (ID: 462a8d5d)*

Please, remember these 3 steps:

Force update all your filter lists (click uBO icon > ⚙ Dashboard button > Filter lists pane > 🕘 Purge all caches > 🔃 Update now)
Turn off all other extensions AND browser's built-in blockers
Remove all your current custom filters AND custom filter lists that you have enabled / added manually (Adguard lists...)
It might be quicker to make a backup of your config and restore to defaults before proceeding to step 1.

Fixing anti-adblock can cause ads slipped. If you see any ads slipped, please report back the EXACT URL and your country when accessing the URL so volunteers are able to investigate.

The filter lists can be updated multiple times a day, so please always do step 1 before reporting.

  • About the ID above, it's the ID of YouTube's script that's used for anti-adblock, you can monitor it via this link: https://pastefy.app/G1Txv5su/raw (top to bottom is oldest to latest). It means that the current fix is matched with the script with corresponding ID.

If the latest ID (the last line) does not match the current one written above, it means YT has updated the new one and it might cause anti-adblock again. If it matches and you still get anti-adblock, kindly check the 3 steps above. Thank you.

twena,

I will definitely try this. Thank you really

daredevil, do piracy w Has YouTube Blocked Your Adblocker Yet??

I can't remember the last time I've seen an ad on YouTube

mosthated, do piracy w Has YouTube Blocked Your Adblocker Yet??
@mosthated@feddit.nl avatar

Same. If I really need the website, I now use yewtu.be

American_Jesus,

Or https:/piped.video

krimsonbun,

piped has been giving me more issues recently, I think Google’s fighting them?

GivingEuropeASpook,
@GivingEuropeASpook@lemm.ee avatar

yeah same, only like half of the videos load or play.

deegeese, do piracy w Has YouTube Blocked Your Adblocker Yet??

The irony of the straw poll site throwing up an anti-adblock banner 🤣

glad_cat,

I have a VPN and I can’t vote.

balderdash9,

That’s self selection bias if I’ve ever seen it

  • Wszystkie
  • Subskrybowane
  • Moderowane
  • Ulubione
  • rowery
  • Technologia
  • Pozytywnie
  • nauka
  • FromSilesiaToPolesia
  • fediversum
  • motoryzacja
  • niusy
  • sport
  • slask
  • muzyka
  • informasi
  • Gaming
  • esport
  • Blogi
  • Psychologia
  • Spoleczenstwo
  • lieratura
  • tech
  • giereczkowo
  • test1
  • ERP
  • krakow
  • antywykop
  • Cyfryzacja
  • zebynieucieklo
  • kino
  • warnersteve
  • Wszystkie magazyny