4 ms·
I use the rule ||youtube.com/shorts/*$uritransform=/shorts\/(.*)/watch\/\$1/` in uBlock Origin. (Except that it doesn't work if you click on a short from
by divingdragon 8mo ago
I use the rule
||youtube.com/shorts/*$uritransform=/shorts\/(.*)/watch\/\$1/`
in uBlock Origin.
(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 7mo agotry tapermonkey script ``` // ==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); ```