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
    link
    fedilink
    122 years 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)
    
    
    • theJWPHTER88
      link
      fedilink
      22 years ago

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

    • khab
      link
      fedilink
      22 years ago

      Nice! Is there a version that would work on PiHole?

      • Negative_Pair_5694
        link
        fedilink
        1
        edit-2
        2 years 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.

    • @[email protected]
      link
      fedilink
      1
      edit-2
      2 years ago

      Doesn’t seem to work. Do I need to restart? I still see #shorts videos in my sub feed.

      I’m using uBlock Origin.

    • DarkThoughts
      link
      fedilink
      12 years ago

      I’ll give it a try but in the past those ublock filters did not really work at all for me.