您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes banners and notifications from crunchyroll
// ==UserScript== // @name CrunchyBR, Crunchyroll banner remover // @namespace http://tampermonkey.net/ // @version 1.3.0 // @description Removes banners and notifications from crunchyroll // @author Leppur // @match https://www.crunchyroll.com/* // @grant none // @run-at document-end // ==/UserScript== // // github https://github.com/Leppur/CrunchyBR // Options // What is removed const removeBanner = true; const removeTextBox = true; // It's about the blue text box that comes up every now and then const removeSeriesPromoBanner = true; const removeBetaTest = true; if(removeBanner && document.getElementById("marketing_banner")) { document.getElementById("marketing_banner").remove(); } if(removeTextBox && document.getElementById("message_box")) { document.getElementById("message_box").remove(); } if(removeTextBox && document.getElementById("series_promo_banner")) { document.getElementById("series_promo_banner").remove(); } if(removeBetaTest && document.getElementsByClassName('opt-in')[0]) { document.getElementsByClassName('opt-in')[0].remove(); }