您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
CSDN网页优化,自动展开,去广告,免登陆,剪切板净化
当前为
// ==UserScript== // @name CSDN网页优化,自动展开,去广告,免登陆,剪切板净化 2018-12-06可用 // @namespace http://www.wandhi.com/ // @version 1.0 // @description CSDN网页优化,自动展开,去广告,免登陆,剪切板净化 // @author Wandhi // @icon https://www.wandhi.com/favicon.ico // @match *://blog.csdn.net/* // @require https://cdn.staticfile.org/jquery/1.12.4/jquery.min.js // @grant none // ==/UserScript== (function () { $("#article_content").css("overflow", "overlay"); $("#article_content").css("height", "auto"); $("article.baidu_pl > div.hide-article-box").remove(); $("div.pulllog-box").remove(); $("div.container > aside > div:eq(1)").remove(); $("#asideFooter > .aside-box:eq(0)").remove(); $(".adblock").remove(); $("li.bdsharebuttonbox").remove(); $("#dmp_ad_58").remove(); $("div.recommend-box > div.recommend-ad-box").remove(); function removeRecommandAds() { var lastLength = $("div.recommend-box").children().length; for (var i = 0; i < length; i++) { var content = $("div.recommend-box > div").eq(i).find("div.content > a").attr("title"); if (content === null || content === undefined) { $("div.recommend-box > div").eq(i).remove(); i--; } } if ($("#btn-readmore").length > 0) { $("#btn-readmore").click(); } if (typeof (csdn) != "undefined") { csdn.copyright.init("", "", ""); } } setTimeout(removeRecommandAds, 2000); if (typeof (csdn) != "undefined") { csdn.copyright.init("", "", ""); } var hookedInterval = window.setInterval; window.setInterval = function (callback, seconds) { if (seconds == 1e3) { document.querySelector('#check-adblock-time').remove(); return; } hookedInterval(callback, seconds); }; window.csdn.anonymousUserLimit.judgment = function () { return true; }; window.csdn.anonymousUserLimit.Jumplogin = function () { console.log("Fuck CSDN :)"); }; })();