您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
去广告,展开全文
// ==UserScript== // @name 文库clear // @namespace http://tampermonkey.net/ // @version 0.0.1 // @description 去广告,展开全文 // @author You // @icon https://www.baidu.com/cache/icon/favicon.ico // @match http://wenku.baidu.com/* // @match https://wenku.baidu.com/* // @grant none // ==/UserScript== (function() { 'use strict'; var bannerInterval = 3500;//文中广告 var readInterval = 4000;//展开全文 setTimeout(function(){ var banner=document.getElementsByClassName("banner-ad"); for(var m = (banner.length - 1); m>=0; m--){ if(banner[m].tagName== "DIV") { banner[m].remove();} }},bannerInterval); setTimeout(function(){ document.getElementsByClassName("moreBtn")[0].click();},readInterval); //底部悬浮广告 function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } addGlobalStyle(` #lastcell-dialog{display:none; visibility:hidden;}`); // Your code here... })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址