您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Disable scroll for details feature and remove the label from the bottom in fullscreen
当前为
- // ==UserScript==
- // @name YouTube - Disable Fullscreen Scroll
- // @namespace q1k
- // @version 0.1.1
- // @description Disable scroll for details feature and remove the label from the bottom in fullscreen
- // @author q1k
- // @match https://*.youtube.com/*
- // @match http://*.youtube.com/*
- // @grant none
- // ==/UserScript==
- document.addEventListener('wheel', (e) => {
- if (document.body.classList.contains('no-scroll')) {
- e.preventDefault();
- }
- }, { passive: false });
- var css = document.createElement("style");
- css.innerText=".ytp-fullerscreen-edu-button { display: none !important; }";
- document.head.appendChild(css);