您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
当前为
// ==UserScript== // @name csdn页面阅读优化 // @namespace http://tampermonkey.net/ // @version 0.2 // @description try to take over the world! // @author You // @match http://*/* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @grant none // @license MIT // @note 2021-12-02 0.2 免登录(不可用)进行代码复制 // ==/UserScript== var css = [ ".blog_container_aside {", " display: none;", "}", ".recommend-box {", " display: none;", "}", ".csdn-side-toolbar {", " display: none;", "}", "#rightAside {", " display: none;", "}", "#csdn-toolbar {", " display: none;", "}", "pre:hover .hljs-button{", " display: none;", "}", ".nodata .container main {", " width: 100%;", "max-width:100%;", "}", "#mainBox{margin-left:0rem;}" ].join("\n"); lsAddStyle(css); (function() { 'use strict'; // Your code here... $("#csdn-toolbar").remove(); // 免登录(不可用)进行代码复制 $("code").css("user-select","auto"); $("#content_views").css("user-select","auto"); $("pre").css("user-select","auto");7 })(); function lsAddStyle(css){ var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); var heads = document.getElementsByTagName("head"); if (heads.length > 0) { heads[0].appendChild(node); } else { // no head yet, stick it whereever document.documentElement.appendChild(node); } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址