您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Redirects any opened YT video to the YT embedded video to make the video take the whole screen.
当前为
// ==UserScript== // @name Redirect YT video to embedded video // @namespace YTRedir // @version 0.1 // @description Redirects any opened YT video to the YT embedded video to make the video take the whole screen. // @author hacker09 // @match https://www.youtube.com/watch?v=* // @match https://m.youtube.com/watch?v=* // @icon https://www.youtube.com/s/desktop/03f86491/img/favicon.ico // @run-at document-start // @grant none // ==/UserScript== (function() { 'use strict'; var NoFeature = location.href.replace('&feature=emb_title', ''); var YTID = 'https://www.youtube.com/embed/' + location.search.replace('?v=', '') + '?autoplay=1'; location = NoFeature.replace(location.href, YTID); })();