您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
当前为
// ==UserScript== // @name 博客园纯净版 // @namespace http://tampermonkey.net/ // @version 1.4 // @description try to take over the world! // @author bage22 liangys1115 // @include *.cnblogs.com/* // @lastmodified 2020-11-23 // @note 2020-11-20-V1.4 隐藏博客园首页广告 // @note 2020-11-20-V1.3 动态获取左边距值并设置为右边距 // @note 2020-11-20-V1.2 设置主页面右边距与左边距保持一致 // @note 2020-11-20-V1.1 修改授权 // @note 2020-11-20-V1.0 移除更多无关的div中class内容 // @grant GPL License // ==/UserScript== (function() { 'use strict'; function removeByID(){ let len = arguments.length; for(var i=0;i<len;i++){ $(arguments[i]).remove(); } } function removeDivChild(){ let len = arguments.length; for(var i=0;i<len;i++){ $("div").remove(arguments[i]); } } function setContentRightMargin(){ $("#mainContent .forFlow").css("margin-right",$("#mainContent .forFlow").css("margin-left")); $("#content").css("margin-right",$("#content").css("margin-left")); } removeByID("#cnblogs_c2","#comment_form","#cnblogs_c1","#sideBarMain","#blog_post_info_block", "#leftcontentcontainer", "#header", "#blog-comments-placeholder", "#mytopmenu", "#bannerbar", "#leftcontent", "#MySignature", "#side_right"); removeDivChild(".bannerbar", ".orpc", ".footer", ".postDesc"); setContentRightMargin(); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址