Last active
July 3, 2023 12:49
-
-
Save TypeA2/9aede41c4a83b8462a64918717be5ece to your computer and use it in GitHub Desktop.
Redirect YouTube shorts to their /watch equivalent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Redirect YouTube shorts to normal video pages | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @author TypeA2 | |
// @match https://*.youtube.com/shorts/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
window.location.replace(window.location.href.replace("/shorts/", "/watch?v=")); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment