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.
divingdragon|15 days ago
(Except that it doesn't work if you click on a short from YouTube's interface - it loads with JavaScript which bypasses the redirection.)
shubhangigovil|6 days ago
``` // ==UserScript== // @name YouTube Shorts → Normal Player // @match ://www.youtube.com/ // @run-at document-start // ==/UserScript==
function redirectShorts() { const match = location.pathname.match(/^\/shorts\/([a-zA-Z0-9_-]+)/); if (match) { location.replace(`/watch?v=${match[1]}`); } }
// Catch initial page load redirectShorts();
// Catch SPA navigation early (fires before page renders) document.addEventListener('yt-navigate-start', redirectShorts);
// Fallback document.addEventListener('yt-navigate-finish', redirectShorts); ```
netsharc|15 days ago
freehorse|15 days ago
djsavvy|15 days ago
notpushkin|15 days ago
Been using it for annoyances like Slack pushing you to their desktop app, or fixing links when sites change domains (ahem, Anna’s Archive).
ikaros02|15 days ago
ulam2|15 days ago
squarefoot|15 days ago
shmageggy|15 days ago
bigprof|14 days ago
s4i|15 days ago
unknown|15 days ago
[deleted]
sheept|15 days ago