您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
toggle fullscreen on youtube auto
当前为
// ==UserScript== // @name toggle fullscreen // @namespace http://tampermonkey.net/ // @version 0.1 // @description toggle fullscreen on youtube auto // @author You // @match https://m.youtube.com/watch* // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com // @grant none // @require http://code.jquery.com/jquery-latest.js // ==/UserScript== (function() { 'use strict'; // Your code here... $(document).ready( function() { $(document.body).prepend( '<div id="blockingdiv" style="z-index: 1123123; width:100%; height:100%; position: fixed;" ></div>' ); $('#blockingdiv').on('click', function(){ $('#blockingdiv').remove(); window.setTimeout(function(){ $('.ytp-unmute-text').trigger('click'); }, 500); window.setTimeout(function(){ $('.fullscreen-icon').find('path').trigger('click'); }, 500); }); } ); })();