No Youtube Short

Allows you to view Youtube shorts as normal videos

目前为 2023-10-29 提交的版本。查看 最新版本

// ==UserScript==
// @name         No Youtube Short
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Allows you to view Youtube shorts as normal videos
// @author       Freschko Yamato
// @match       http://youtube.com/shorts/*
// @match       https://youtube.com/shorts/*
// @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
// @licence MIT
// ==/UserScript==

(function() {

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



    'use strict';

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