您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Disable the Inline Playback feature ("keep hovering to play") on YouTube even when logged out
当前为
// ==UserScript== // @name YouTube - Disable Inline Playback ("Keep hovering to play") // @namespace Violentmonkey Scripts // @match *://www.youtube.com/* // @version 2.1 // @author jez9999 // @description Disable the Inline Playback feature ("keep hovering to play") on YouTube even when logged out // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // ******************** // Reminder: set the following in Violentmonkey advanced settings for Editor: // "tabSize": 4, // "indentUnit": 4, // "autoCloseBrackets": false, // // Also, bear in mind there appears to be a bug in Violentmonkey where after a while, MutationObserver's // stop being debuggable and the whole browser needs restarting before it'll work again. // ******************** var sheet = document.createElement('style') sheet.innerHTML = ".ytd-thumbnail-overlay-loading-preview-renderer {display: none!important;} .ytp-inline-preview-ui {display: none!important;} #preview {display: none!important;}"; document.body.appendChild(sheet); })();