The sheer number of videos taken “the wrong way round” (for my computer’s monitor) is mind-boggling. I get that some people watch videos on their phones, but is it really that many?

    • Negative_Pair_5694@kbin.social
      link
      fedilink
      arrow-up
      10
      ·
      1 year ago

      For uBlock:

      ! YT Homepage - Hide the Shorts section
      youtube.com##[is-shorts]
      ! YT Menu - Hide the Shorts button
      www.youtube.com###guide [title="Shorts"], .ytd-mini-guide-entry-renderer[title="Shorts"]
      ! YT Search - Hide Shorts
      www.youtube.com##ytd-search ytd-video-renderer [overlay-style="SHORTS"]:upward(ytd-video-renderer)
      ! YT Search and Channels - Hide the Shorts sections
      www.youtube.com##ytd-reel-shelf-renderer
      ! YT Channels - Hide the Shorts tab
      www.youtube.com##ytd-browse[page-subtype="channels"] [role="tab"]:nth-of-type(3):has-text(Shorts)
      ! YT Subscriptions - Hide Shorts - Grid View
      www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-grid-video-renderer [overlay-style="SHORTS"]:upward(ytd-grid-video-renderer)
      ! YT Subscriptions - Hide Shorts - List View
      www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-video-renderer [overlay-style="SHORTS"]:upward(ytd-item-section-renderer)
      ! YT Sidebar - Hide Shorts
      www.youtube.com###related ytd-compact-video-renderer [overlay-style="SHORTS"]:upward(ytd-compact-video-renderer)
      
      
      • Hedup@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Doesn’t seem to work. Do I need to restart?

        I’m using uBlock Origin.

        • Negative_Pair_5694@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          I don’t think that would work. PiHole works on a DNS level and has no insight to the encrypted connection to Youtube. So it cannot see or modify the site content on the fly. uBlock Origin basically can (beside DNS based blocking) modify the websites’ code after it has loaded into your browser.

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

        Seems quite extensive, but… do I place some and/or all of it on the “My rules” or “My filters” tab on uBlock?

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

          Paste it at the bottom of your “my filters” section. Be sure to “Apply” when done.

    • Ignacio@kbin.social
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      “Enhacer for YouTube” (a Firefox extension, and maybe Chromium too) hides shorts for good.

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

          When I search for a video, they appear too. But there is no menu option for shorts in the left sidebar, and they don’t appear in your home or subscription page either.