ty
remon@ani.social 1 day ago
Add this to your uBlock:
!death to #shorts youtube.com##:matches-path(/)a#thumbnail[href*="/shorts"]:upward(7) youtube.com##:matches-path(/)a#endpoint[title*="Shorts"] youtube.com##h2>span:has-text(Shorts):upward(7)
Buage_@piefed.social 1 day ago
expatriado@lemmy.world 1 day ago
thanks, when i press top-right X on shorts on YT, they just go away for a while… why not forever TY? why you have to keep insisting?
tiramichu@sh.itjust.works 1 day ago
Because they want you to watch shorts. They know that people who watch shorts are the most brainrotted on the platform, and the ones who will keep scrolling and watching video after video, and seeing ad after ad, and those are the users YouTube wants all other users to be like.
And so they will push shorts in your face again and again no matter how much you say no, because they think eventually they’ll break you.
The close button is just a temporary placebo to make it feel like you’re the one in control.
You’re not the one in control.
homes@piefed.world 1 day ago
What does this do? I’d like to know, specifically, before I add some random code from the Internet into my ad blocker.
tiramichu@sh.itjust.works 1 day ago
Blocks shorts.
uBlock filters use a modified form of CSS selectors to determine what parts of a page to hide.
If you know vaguely how CSS selectors work you can infer that the filter definition is matching on
youtube.comand is finding an element whose title property isshorts- so it seems to be doing an appropriate thing.The important part is that uBlock filters are not executable; you can’t inject a malicious executable through one, as they are simply patterns which describe what parts of a page should be hidden, and hiding content is all they can do.
The worst that a filter could do is hide something that shouldn’t be hidden.
homes@piefed.world 1 day ago
thank you very much. this is exactly what I wanted to know ;)
remon@ani.social 1 day ago
It removes short-videos from the main page and search results, as well as removing the link from the menu.
Axolotl_cpp@feddit.it 1 day ago
It removes shorts, just read it
Cantaloupe@lemmy.fedioasis.cc 15 hours ago
I like YouTube shorts though. Better than Tiktok.
remon@ani.social 10 hours ago
Then get out of my comment thread.