3 ms·
Ublock origin's filter syntax is very good but has limitations that make it borderline impossible to filter out some elements and also very brittle. For example
by blindstitch 3y ago
Ublock origin's filter syntax is very good but has limitations that make it borderline impossible to filter out some elements and also very brittle. For example, this one is one of 20 lines of filters to get rid of Shorts: `www.youtube.com##ytd-mini-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-mini-guide-entry-renderer)`
The frontend code is so abstracted that as soon as it is updated it is probably going to break. With userscripts you can filter these things with more sophisticated functions, but it slows down the interface more than UBO. In google's case that type of frontend abstraction (imo) is not intentionally designed to break interface filtering but it has that effect. For other companies like facebook and amazon they actively make filtering elements harder, because of their anti-adblock strategies, but they are all casting a wide enough net that element filtering is affected too. It's a long game of cat and mouse.
- itopaloglu83 3y agoThe way YouTube forces shorts on users who likes long form content is really frustrating. uBlock filters are great but doesn’t solve the fundamental issue here. There should be a way to opt out of YouTube shorts.
- KennyBlanken 3y agoIt's not just the length that's frustrating, it's the near total lack of control. Miss the first few seconds because your sound was off/low? Gotta watch the whole fucking thing to the end and then let it replay because there's no slider or restart/rewind button. All because either they purposefully wanted to force us to do that (view count boosting I guess, or it's more likely to be remembered?) or some google exec got Shorts barely done enough to show off at a board meeting and say "done, made something that competes against reels!" and then ran off to work on something else to try and boost their stature in the company.
- gosub100 3y agoI think the reason is they know they'll lose the market share if they don't force them. Most people know that they are addictive and "bad for you" so many people would not opt in to them. But if they're almost forced, they will succumb to the addiction.
- itopaloglu83 3y agoI wish they kept the “don’t be evil” motto.
- imbnwa 3y agoDoes Premium provide this?
- salzig 3y agoNo, sadly.
- teddyh 3y ago> For example, this one is one of 20 lines of filters to get rid of Shorts Just get this plugin: <https://github.com/lawrencehook/remove-youtube-suggestions https://github.com/lawrencehook/remove-youtube-suggestions> and enable “Hide all Shorts” under Homepage/General.
- squigz 3y agoFunnily enough, the code responsible for hiding shorts in that is just under 20 lines long :P https://github.com/lawrencehook/remove-youtube-suggestions/blob/d17ef0af7758e65686c7f967bfe4f3445bb83855/src/content-script/main.js#L145-L164 https://github.com/lawrencehook/remove-youtube-suggestions/b...