top | item 47021942

(no title)

divingdragon | 16 days 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.)

discuss

order

shubhangigovil|7 days ago

try 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); ```