FUUU

Does anyone know of an ad blocker blocker blocker?

  • Sterile_Technique@lemmy.world
    link
    fedilink
    English
    arrow-up
    36
    ·
    1 day ago

    You can block element on that pop-up with uBlock Origin, and it starts working again.

    If you can’t click anything, there’s a transparent layer still in the way, so you may need to do a second block element (click anywhere and the entire screen should highlight).

    Weird side effect is that the scroll stops working sometimes, but if you make the video full screen then back it fixes it.

    • brachypelmasmithi@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      9 hours ago

      for anyone interested:

      the scroll not working is most likely due to the main container in the page (usually the <body> tag but it can be some other element) having the overflow: hidden CSS property assigned to it.

      overflow dictates the behavior of an element that has its content overflow past the parent element’s boundaries.

      the property can have four values:

      • visible, where the overflow is fully visible and allowed to extend past the parent element,
      • scroll, which clips the overflowing content and allows the user to scroll the parent element,
      • hidden, which clips the overflowing content and prevents scrolling, and
      • auto, which works almost identically to scroll

      most sites run a script that assigns this property with the value of hidden to the <body> tag, making the user unable to scroll the page.

      ive seen this behavior the most with sites that blast you with an unavoidable cookie banner which you have to click through to access the page. usually removing the cookie banner element is not enough to freely access the page, and so you have to additionally find which element has its overflow set to hidden and disable that property.

      i reckon youtube’s adblocker popup is doing the same thing, and coincidentally turning off fullscreen also runs a script that makes sure the overflow is set to either scroll or auto

      • Sterile_Technique@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        54 minutes ago

        It feels strangely vindicating when symptoms that just look like ‘a weird bug’ to my dumb ass actually make sense to folks who know what they’re doing.

        Thanks for the insight!

    • DarkSirrush@lemmy.ca
      link
      fedilink
      arrow-up
      11
      ·
      1 day ago

      There are a few browser extensions that force a scrollbar even on pages its disabled if you need to work around it.

      Though not being able to scroll down to YouTube comments should be considered a blessing.