No Youtube Short

Allows you to view Youtube shorts as normal videos

目前为 2023-02-16 提交的版本。查看 最新版本

// ==UserScript==
// @name         No Youtube Short
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Allows you to view Youtube shorts as normal videos
// @author       Freschko Yamato
// @match       http://www.youtube.com/shorts/*
// @match       https://www.youtube.com/shorts/*
// @icon        https://image.noelshack.com/fichiers/2023/07/4/1676551143-noshort.png
// @grant       none
// ==/UserScript==

(function() {

    window.addEventListener('load', function() {
        let url = window.location.href
        url = url.replace('shorts/', 'watch?v=')
        window.location.href = url;

}, false);


    'use strict';

    // Your code here...
})();