您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Tries to remove any banner and other dismissibles that are plain annoying (or straight up propaganda).
当前为
// ==UserScript== // @name Remove Youtube Propaganda // @namespace https://github.com/Dwyriel // @version 1.0 // @description Tries to remove any banner and other dismissibles that are plain annoying (or straight up propaganda). // @author Dwyriel // @license MIT // @match *://*.youtube.com/* // @grant none // @homepageURL https://github.com/Dwyriel/Greasyfork-Scripts // ==/UserScript== (function () { 'use strict'; const idsToRemove = ["big-yoodle", "clarify-box"]; const callback = () => { for (let id of idsToRemove) document.getElementById(id)?.remove(); }; const config = { attributes: true, childList: true, subtree: true }; new MutationObserver(callback).observe(document.body, config); })();