您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
对CSDN的文章布局优化
- /* ==UserStyle==
- @name FK CSDN
- @namespace joyhooian.styles
- @version 0.4
- @description 对CSDN的文章布局优化
- @author joyhooian
- @match https://blog.csdn.net/.+/article/details/.+
- @grant none
- @license MIT
- ==/UserStyle== */
- @-moz-document regexp("https://blog.csdn.net/.*/article/details/.*") {
- * {
- user-select: auto !important;
- }
- aside {
- display: none;
- }
- #mainBox {
- display: flex;
- justify-content: center;
- }
- .toolbar-inside {
- display: none;
- }
- body {
- min-width: unset;
- }
- @media screen and (max-width: 1320px) {
- .nodata .container main {
- width: 95vw;
- }
- }
- @media screen and (min-width: 1550px) {
- .nodata .container {
- margin-right: 0px;
- }
- }
- .article-type-img {
- display: none;
- }
- .blog-tags-box {
- display: none!important;
- }
- .article-time-img {
- display: none!important;
- }
- .article-read-img {
- display: none!important;
- }
- .read-count {
- display: none;
- }
- #blog_detail_zk_collection {
- display: none!important;
- }
- div .operating {
- display: none;
- }
- .article-bar-top {
- display: flex;
- width: 100%!important;
- }
- .bar-content {
- width: 100%!important;
- padding-right: 12px!important;
- }
- .up-time {
- display: none!important;
- }
- #blogHuaweiyunAdvert {
- display: none;
- }
- #blogColumnPayAdvert {
- display: none;
- }
- pre.set-code-hide {
- height: unset!important;
- overflow-y: unset!important;
- }
- pre {
- margin: 0 0!important;
- }
- .hide-preCode-box {
- display: none;
- }
- .hljs-button {
- display: none!important;
- }
- #treeSkill {
- display: none!important;
- }
- #toolBarBox {
- display: none;
- }
- .recommend-box {
- display: none!important;
- }
- #pcCommentBox {
- display: none!important;
- }
- .blog-footer-bottom {
- display: none;
- }
- .template-box {
- display: none;
- }
- #rightAside {
- display: none!important;
- }
- .csdn-side-toolbar {
- display: none!important;
- }
- body {
- background: unset;
- background-color: black;
- background-image: unset!important;
- }
- .container {
- margin-left: unset!important;
- }
- #recommendNps {
- display: none!important;
- }
- }