您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
可以去除2dfan背景广告
// ==UserScript== // @name 去除2dfan背景广告 // @namespace http://tampermonkey.net/ // @version 0.1 // @description 可以去除2dfan背景广告 // @author Tester // @match https://www.2dfan.com/* // @icon https://www.google.com/s2/favicons?domain=2dfan.com // @grant none // ==/UserScript== (function() { 'use strict'; // Your code here... var bg=document.getElementsByClassName("index_bg_box")[0]; bg.getAttributeNode("style").value="width: 100%; height: 100%; position: fixed; left: 0px; top: 45px; center 41px no-repeat rgb(53, 53, 53);"; for (var i = 0; i < 2; i++) { bg.removeChild(bg.childNodes[0]); } })();