您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
去除直播页下方礼物面板
当前为
// ==UserScript== // @name 清爽直播 // @namespace http://tampermonkey.net/ // @version 0.2 // @description 去除直播页下方礼物面板 // @author greasyblade // @match *://live.bilibili.com/* // @match *://www.douyu.com/* // @grant none // ==/UserScript== (function() { 'use strict'; // live.bilibili.com/* if (location.hostname === 'live.bilibili.com') { var auto = setInterval(function() { if (document.getElementsByClassName("gift-control-panel f-clear b-box p-relative")[0]) { document.getElementsByClassName("gift-control-panel f-clear b-box p-relative")[0].remove(); clearInterval(auto); } }, 50); } // douyu.com/* if (location.hostname === 'www.douyu.com') { var auto = setInterval(function() { if (document.getElementById("js-stats-and-actions")) { document.getElementById("js-stats-and-actions").remove(); clearInterval(auto); } }, 50); } })();