Greasy Fork is available in English.

Redirect Youtube Shorts to normal page

redirects youtube shorts to normal version of the page when you refresh the shorts page, where you can use progress bars and many more

// ==UserScript==
// @name        Redirect Youtube Shorts to normal page
// @name:zh-CN  Youtube Shorts 自动跳转
// @match       *://*.youtube.com/shorts/*
// @run-at      document-start
// @grant       none
// @license     gpl-3.0
// @description  redirects youtube shorts to normal version of the page when you refresh the shorts page, where you can use progress bars and many more
// @description:zh-cn 在shorts页面刷新会跳转到普通版的视频页面, 主要用途是拖进度条
// @version 0.0.1.20220815192703
// @namespace https://greasyfork.org/users/697989
// ==/UserScript==

// based on : https://stackoverflow.com/questions/10675049/add-parameters-to-the-url-redirect-via-a-greasemonkey-tampermonkey-userscript

var oldUrlPath  = window.location.pathname;

/*--- Test that ".compact" is at end of URL, excepting any "hashes"
    or searches.
*/
if ( ! /\.compact$/.test (oldUrlPath) ) {

    var newURL  = window.location.protocol + "//"
                + window.location.host
                + oldUrlPath
                + "&t=0s" // add time
                + window.location.search
                + window.location.hash
                ;
    /*-- replace() puts the good page in the history instead of the
        bad page.
    */
    window.location.replace (newURL);
}