Live data from Hacker News

uBlock filter list to hide all YouTube Shorts

github.com

61–70 of 362 posts

Re: uBlock filter list to hide all YouTube Shorts

#61

The easy way to do this is to hide them with custom CSS - Install Stylebot extension for your browser - make an entry for youtube.com - enter this css: .shortsLockupViewModelHost { display: none} Bam, no more shorts.

To be fair, Ublock Origin is a lot more common, and the less extensions the better, so or a lot of people this would be the better way.

You can also just use Tamper Monkey (though you need to add a script called Trusted Type Helper in order to inject CSS into YouTube).

I used to use Stylebot but I switched everything over to Tamper Monkey so all my CSS and non CSS related scripts would be in one place.

Tamper Monkey/Grease Monkey scripts are very portable too, I use my scripts in Safari on iOS via the UserScripts extension.

Re: uBlock filter list to hide all YouTube Shorts

#63

Unhook[1] has been my go-to for this. Gives full customization over shorts, recommendations, comments, etc. 1a: https://addons.mozilla.org/en-US/firefox/addon/youtube-recom... 1b: https://chromewebstore.google.com/detail/unhook-remove-youtu...

Does it still work for you? Unhook hasn't been updated in years and doesn't work for shorts anymore, on Firefox. It's still worth it to get rid of the suggested videos though.

It works fine for me, I have not noticed degradation

> doesn't work for shorts anymore, on Firefox

I do get shorts in search results, but if I click they do not load (the audio plays but no video). For the purposes it fills, that blocks them enough for me.

Re: uBlock filter list to hide all YouTube Shorts

#64
On the main page, shorts, as all the other videos, are served by the recommendation algorithm which should filter out general audience crap you'd see if you're not logged in or have view history disabled. You'd normally see the same stuff you're subscribed to there, plus a few random videos of cats. Maybe a wamen butt occasionally. Might as well hide the main page entirely if you're not that easily entertained. To be quite frank, the main page is such an echo chamber lately that I almost got myself unhooked from procrastinating on YouTube.

On the search page, shorts are mostly a mixed bag, but you do occasionally get useful results.

So what does this solve? Seems like a form of protest nobody important (those in power) cares about.

Another thing is, I have, to my own surprise, discovered a few decent channels that I like, that post their videos in form of shorts exclusively. That's a somewhat new trend and mostly relevant to humor-related or music channels, though.

Almost forgot to mention. YouTube recently added the scroll bar to the shorts so they aren't all that different from the other videos now.

Re: uBlock filter list to hide all YouTube Shorts

#65
In addition to the unhook addon that others also recommended and is great, I would also suggest, as an alternative, setting a redirection rule from "www.youtube.com/shorts/XYWZ" to "www.youtube.com/watch?v=XYWZ". This will play the short but in the classical youtube video (landscape) format, with no infinite scrolling, or replay or autoplay (assuming these are in general disabled), which takes away a big part of the addictive aspect of shorts.

Re: uBlock filter list to hide all YouTube Shorts

#66
post #62

is there a supply chain attack possible? What if some time later this list gets updated?

I will update it later down the line as YT changes its layout and for bug fixes... but i think this was not what your question.

I don't think that something super bad can happen with these uBlock filter, they will sanitize the filter heavily.

Maybe a potential attack vector for these lists in general is to hide the body of a few sites but this is more annoying then dangerous AFAIK.

Re: uBlock filter list to hide all YouTube Shorts

#68

Unhook[1] has been my go-to for this. Gives full customization over shorts, recommendations, comments, etc. 1a: https://addons.mozilla.org/en-US/firefox/addon/youtube-recom... 1b: https://chromewebstore.google.com/detail/unhook-remove-youtu...

Some of the Unhook options are broken nowadays I think. Its that or one of my other 10 YouTube extensions I now have to deshittify that damn page. Disable translate, SponsorBlock, Disable AutoPlay, some better thumbnail thing..

Re: uBlock filter list to hide all YouTube Shorts

#69
post #64

On the main page, shorts, as all the other videos, are served by the recommendation algorithm which should filter out general audience crap you'd see if you're not logged in or have view history disabled. You'd normally see the same stuff you're subscribed to there, plus a few random videos of cats. Maybe a wamen butt occasionally. Might as well hide the main page entirely if you're not that easily entertained. To be…

> Seems like a form of protest

Filtering content is not "a form of protest", it is about deciding what content you want to see in your browser and what not. Youtube, even the paid version, does not offer much in terms of customising one's experience (imo the "algorithm" deciding what you should watch based on your history does not count as one) and shorts is a proven addictive pattern that one may not want to encounter online.

It is fine if you like watching shorts, such filter lists are for those who do not want to watch shorts.

Post reply on HN