您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
去除所有与文章无关的信息
当前为
// ==UserScript== // @name csdn暴力美化 // @namespace http://tampermonkey.net/ // @version 0.3 // @description 去除所有与文章无关的信息 // @author wanghaozhe // @match *://blog.csdn.net/*/article/details/* // @match *://*.blog.csdn.net/article/details/* // @match *://bbs.csdn.net/topics/* // @icon https://www.google.com/s2/favicons?sz=64&domain=gf.qytechs.cn // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; var body = document.getElementsByTagName('body')[0] var style = document.createElement('style') var css = ` #articleSearchTip{ display: none !important; } .hljs-button{ display: none !important; } .passport-login-container{ display: none !important; } code,ol{ user-select: text !important; } #csdn-toolbar{ display: none !important; } .csdn-side-toolbar{ display: none !important; } .article-info-box{ display: none !important; } .left-toolbox{ display: none !important; } .column-group{ display: none !important; } #rightAside{ display: none !important; } .recommend-box{ display: none !important; } .template-box{ display: none !important; } .blog-footer-bottom{ display: none !important; } body{ background-color: black; background-image: none; } .blog_container_aside{ display: none !important; } #mainBox{ width: 100%; display: flex; justify-content: center; } main{ width: 80%; } ` var innerStyle = document.createTextNode(css) style.appendChild(innerStyle) document.head.appendChild(style) // 禁止弹窗 window.alert = function() { return false; } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址