您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
删除jandan.net广告
当前为
// ==UserScript== // @name JANDAN_AD_REMOVER // @name:en JANDAN_AD_REMOVER // @namespace 2b079a7c // @version 1.0 // @icon http://cdn.jandan.net/static/img/favicon.ico // @description 删除jandan.net广告 // @description:en Remove Ad for jandan.net // @author 2b079a7c // @match http*://jandan.net/* // @match http*://i.jandan.net/* // @run-at document-idle // @grant GM_setValue // @grant GM_getValue // @grant GM_deleteValue // @grant GM_addStyle // @license MIT // ==/UserScript== (function() { 'use strict'; var timer; timer = setInterval(function(){ try{ //Ad conver Remove document.getElementsByClassName("fc-ab-root")[0].remove() //Width-screen mode document.getElementById("sidebar").remove() document.getElementById("body").style.background = "None" document.getElementById("content").style.width = "100%" document.querySelectorAll(".row").forEach((ele)=>{ele.style.width = "100%";}) document.querySelectorAll(".row>.text>p img").forEach((ele)=>{ele.style.width = "100%";ele.style.maxHeight="none"}); //Auto load gifs Array.from(document.getElementsByClassName('gif-mask')).forEach( v=> {v.click()}) if(timer) { clearInterval(timer); console.log("Jandan AD Removed"); } }catch{} },50); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址