UPDATE 2 It seems that starting today, uBlock Origin is working to combat this Youtube Block. Mine started working again! Lets all thank the devs of UBO for fighting this fight!

UPDATE So as new info comes out, I’ll be posting it here. It seems as if this Rollout Has Several Parts.

Part 1

You get a popup message over top of your video, blocking the screen:

  • This is the first sign. If you see this popup AND are logged into a YouTube account, your account has been selected.
  • At this stage you can likely close or block these messages with an adblocker.

Part 2

This message will change, indicating that you have 3 remaining videos to watch without ads.

Will insert photo once one has been found

  • At this stage your adblocker will imminently stop working in 3 videos time.
  • Personally using Firefox + uBlock Origin and tweaking filters and updates does not even fix it.

Part 3

None of the video loads now, everything looks blank.

  • At this stage you must tred new ground to avoid ads. I have posted methods in the comments. If you want to bypass this end page, read down there.

End of Update


YouTube has started rolling out anti-adblock to users inside the United States, which means that they are preparing to roll this out to the entire country. Personally, I have been blocked already. I want to gauge how common this occurrence is.

  • Honse@lemmy.dbzer0.comOP
    link
    fedilink
    English
    arrow-up
    83
    arrow-down
    2
    ·
    1 year ago

    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

    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

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

    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!

    • Neato@kbin.social
      link
      fedilink
      arrow-up
      18
      ·
      1 year ago

      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@lemmy.dbzer0.comOP
        link
        fedilink
        English
        arrow-up
        45
        ·
        1 year ago

        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@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          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.

    • Farent@lemmy.scam-mail.me
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      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)