您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
清理 CSDN 底部提示栏及广告并直接展开内容
当前为
// ==UserScript== // @name CSDN 去广告沉浸阅读模式 // @namespace http://tampermonkey.net/ // @version 1.0 // @description 清理 CSDN 底部提示栏及广告并直接展开内容 // @icon https://avatar.csdn.net/D/7/F/3_nevergk.jpg // @author sven // @include https://blog.csdn.net/* // @include https://bbs.csdn.net/topics/* // @include https://*.iteye.com/blog/* // @run-at document-end // @match <$URL$> // ==/UserScript== (function() { 'use strict'; (() => { const sheets = ` .post_feed_box,.topic_r,.mod_topic_wrap,#bbs_title_bar,#bbs_detail_wrap,#left-box,main {width: 100% !important;} #header,.blog-sidebar,.blog-sidebar,#new_post.login,.mod_fun_wrap,.hide_topic_box,.bbs_bread_wrap,.news-nav,.right-box,aside,#kp_box_476,.tool-box,.recommend-right,.pulllog-box,.adblock,.fourth_column,.hide-article-box,#csdn-toolbar,.meau-gotop-box {display: none !important;} #blog_content,#bbs_detail_wrap,.article_content {height: auto !important;} #bbs_detail_wrap {max-height: none !important;} #main {width: calc(100% - 208px) !important;} #page {margin-top: 0 !important;} ` const sheet = document.createTextNode(sheets) const el = document.createElement('style') el.appendChild(sheet) document.getElementsByTagName('head')[0].appendChild(el) })() })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址