For YouTube there is Unhook [1], which allows you to block shorts. For all other sites I just use custom uBO rules. Both options also work on your phone if you use a browser that can install WebExtensions (Firefox on Android for example).
[1] https://addons.mozilla.org/en-US/firefox/addon/youtube-recom...