• 🐑🇸 🇭 🇪 🇪 🇵 🇱 🇪🐑@lemmy.world
    link
    fedilink
    English
    arrow-up
    101
    arrow-down
    24
    ·
    edit-2
    1 year ago

    Oh I just “remove element permanently” on U-Block origin.

    Make sure to remove the invisible element too that covers the whole screen. They tried that to prevent ya from just opening the video anyway.

    To deactivate the scrollblock, if you experience it,just go full screen once and go back out. Which can be easily automated via a macro or literally just pressing the F key twice.

    YouTube’s attempts at blocking Adblockers are pathetic

    • ClamDrinker@lemmy.world
      link
      fedilink
      arrow-up
      131
      arrow-down
      1
      ·
      edit-2
      1 year ago

      This was my gut reaction as well, but dont do this, the makers of uBlock Origin warn against it! https://www.reddit.com/r/uBlockOrigin/wiki/solutions/youtube/detection-faq/

      Can’t I just hide the pop-up with uBO’s Picker?

      No. Cosmetic filters don’t stop the message - they just temporarily hide it from view. The anti-adblock script will continue to run in the background and will eventually block you from watching videos. Please don’t use, share or recommend using any of those filters and don’t report any issues when using them.

    • pensa@kbin.social
      link
      fedilink
      arrow-up
      45
      arrow-down
      3
      ·
      edit-2
      1 year ago

      YouTube’s attempts at blocking Adblockers are pathetic

      I’ve long maintained that the majority of programmers working for Alphabet/Google/YouTube spent more time learning how to get the job than how to do the job well. There is a lot more to coding than “Cracking the Coding Interview.”

      It’s not about building cool things over there. Is has not been that way for a long time. They just want the money and reputation.

      • Skaryon@lemmy.world
        link
        fedilink
        arrow-up
        11
        ·
        1 year ago

        I don’t know. If I were a webdev at Google I would probably be against this nonsense as much as we are here. So I’d implement the most half assed ‘blocking’ of ad blockers possible knowing that the moron product manager who requested it won’t be able to tell.

        • Cinner@lemmy.worldB
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          That’s a great way to advance your career by the ‘genius’ kid that comes up with the much better way to do it and calls you out during a meeting while showing his already-written code that does much better than your senior dev self.

      • egeres@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        I partially disagree, the average developer at google is very competent, yet, their work pipelines must be so long and complex that such talent gets somewhat diluted

    • voxel@sopuli.xyz
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      1 year ago

      btw as a general rule, you can prevent scrollblock by just doing

      ##body:style(overflow:auto !important)

      • JustAManOnAToilet@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        It might be a cost benefit thing. They probably could hire a team to perfect it and be on hand round the clock playing whack a mole with every workaround that gets found, but the half measure might catch the masses and be enough to not warrant spending the extra to do that.

        • Altima NEO@lemmy.zip
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          No, I mean they could do what streaming services do and drm encode the stream, or make the ads indistinguishable from the videos, making it impossible to block.

          • themusicman@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            If the ads were added to the video stream (I assume this is what you’re suggesting) they can be easily skipped by scrubbing the timeline. On the other hand, if they add metadata so the client can make them unskippable, the ad blockers will have something to work with. Classic catch 22.

    • tourist@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Is it really that easy? Why did they even bother?

      They’ve known about ad blockers for well over decade now and their “solution” can be bypassed with inspect-element. Nice.

      • Jako301@feddit.de
        link
        fedilink
        arrow-up
        11
        arrow-down
        1
        ·
        1 year ago

        It is, in fact, not that easy. It works to hide the warning, but once you reache the stage where they block videos, it won’t help you.

        The better option is to block all scripts on YouTube and only whitelist the 2 or 3 that are necessary to watch videos.

      • GissaMittJobb@lemmy.ml
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        It hasn’t really mattered enough for them to spend any engineering time on it before. Zero interest rates are over, though, and money actually kind of means something now. This is just the first move in a chain of many.

        A warning for anyone relying on stuff like adblockers for YouTube - it’s not that hard for Google to figure out that we’re doing it, simply query for which users have zero ad impressions. Google also has a certain tendency to permaban Google accounts in violation of their policies and then ignoring all appeals. If you rely on Google accounts for email, photos and the like, this might be the time to plan contingencies.

        Personally I’ve started using Piped instead. The lack of recommendations is a bit of a bummer, but in all honesty it was kind of like the switch from Reddit to Lemmy - just had to wean myself off the digital sugar pills.

      • Odious@feddit.de
        link
        fedilink
        arrow-up
        10
        ·
        1 year ago

        Not for me 🤔 I am running PiHole and the adblock thing still shows up. Which blocklists are you using?

      • nicolairathjen@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        How does this work? I’ve been considering using a Raspberry Pi for Pihole, but I’ve been discouraged as it wouldn’t work for YouTube anyways. How I understand it is that Pihole is DNS, which just blocks certain domains. Since Youtube ads and videos are indistinguishable from a networking POV, it won’t be able to block them. Am I wrong? Is there something I have misunderstood?

          • killeronthecorner@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            1 year ago

            Pi hole does not block it at all for me.

            Have you tried accessing youtube in incognito a couple of times with adblockers disabled?

            Not saying it isn’t true but I, and several other pihole users I know, still see the block without uBo

              • killeronthecorner@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                1 year ago

                I don’t see how it could be given that they are loading a detection script in the client.

                It has nothing to do with DNS. I suspect those saying that PiHole solves it simply haven’t been rolled out to yet (or are using adblockers but have forgotten)

    • JSens1998@lemmy.ml
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      They aren’t trying right now because they’re running tests. I’m assuming they’re testing what does and doesn’t work. They probably wanted us to find workarounds so they could patch them when they decide to actually roll out the anti-adblock feature.