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.com and is finding an element whose title property is shorts - so it seems to be doing an appropriate thing.
The important part is that uBlock filters are not executable; you can’t inject malicious code 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.
What does this do? I’d like to know, specifically, before I add some random code from the Internet into my ad blocker.
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 malicious code 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.
thank you very much. this is exactly what I wanted to know ;)
It removes short-videos from the main page and search results, as well as removing the link from the menu.
It removes shorts ig