Skip to content

csdn宽屏浏览,无广告,支持复制,护眼色 by wzzxx

Details

Authorwzzxx

LicenseNo License

Categoryxx

Created

Updated

Size5.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

基于 CSDN BLOG PRETTIFY(CSDN博客页美化) 修改1.修复 原版 滑动到顶上内容会消失的问题2.禁掉悬停工具栏,太影响阅读3.啥广告都没, 全局护眼 乡土色4.建议配合ublock使用,不然页面会有些偏移5.支持不登录复制文本

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           csdn宽屏浏览,无广告,支持复制,护眼色
@namespace      USO Archive
@author         wzz xx
@description    `基于 CSDN BLOG PRETTIFY(CSDN博客页美化) 修改1.修复 原版 滑动到顶上内容会消失的问题2.禁掉悬停工具栏,太影响阅读3.啥广告都没, 全局护眼 乡土色4.建议配合ublock使用,不然页面会有些偏移5.支持不登录复制文本`
@version        20210818.6.10
@license        CC-BY-4.0
@preprocessor   uso
==/UserStyle== */
/* ==UserStyle==
@name           csdn宽屏浏览,无广告,全局护眼色
@namespace      USO Archive
@author         wzz xx
@description    `基于 CSDN BLOG PRETTIFY(CSDN博客页美化) 修改1.修复 原版 滑动到顶上内容会消失的问题2.禁掉悬停工具栏,太影响阅读3.啥广告都没, 全局护眼 乡土色4.建议配合ublock使用,不然页面会有些偏移`
@version        2019417.5.33
@license        CC-BY-4.0
@preprocessor   uso
==/UserStyle== */
@-moz-document url-prefix("https://blog.csdn.net/") {
    #container,
    .mb8,
    .left-menu li,
    .edu-promotion,
    .p4course_target,
    #asideFooter,
    .pulllog-box,
    .recommend-ad-box,
    .aside-content,
    aside p,
    #asideProfile .profile-intro,
    #asideProfile .avatar-box,
    #asideProfile .grade-box,
    #asideProfile .data-info,
    #asideProfile .badge-box,
    .recommend-right,
    .J_adv li,
    .banner-ad-box,
    .banner-ad-box,
    .ad-box,
    .ad-imgtxt-box,
    .img-box,
    .J_adv,
    .right_box,
    .right_box,
    .right-blog-move,
    .mediav_ad,
    #dmp_ad_58,
    ._4paradigm_box,
    #adContent,
    .leftPop,
    .blog_container_aside,
    .toolbar-advert,
    .toolbar-btn-vip,
    #blogColumnPayAdvert,
    #toolBarBox {
        margin-bottom: 0px;
        display: none!important;
        width: 0px!important;
        height: 0px!important;
        padding-left: 0px!important;
    }

    .blog-expert-recommend-box.recommend-item-box {
        display: none!important;
    }



    body,
    main,
    nav,
    a,
    div nav,
    _4paradigm_box,
    p,
    a,
    table,
    tbody,
    tr,
    td,
    h1,
    h2,
    h3,
    h4,
    pre,
    blockquote,
    button,
    div.p4courset3_target,
    #comment_content {
        background: #F6F4EC!important;
    }





    article-info-box {
        height: auto!important;
    }



    /* 强制可复制 */
    * {
        user-select: text!important;
    }
    * {
        -webkit-user-select: text!important;
    }
    * {
        -moz-user-select: text!important;
    }
    * {
        -ms-user-select: text!important;
    }
    * {
        -o-user-select: text!important;
    }
    * {
        -khtml-user-select: text!important;
    }














    .left-menu li:nth-of-type(1),
    aside:hover .aside-content,
    aside:hover aside p,
    aside:hover #asideProfile .profile-intro,
    aside:hover #asideProfile .avatar-box,
    aside:hover #asideProfile .data-info,
    aside:hover #asideProfile .grade-box,
    aside:hover #asideProfile .badge-box,
    .left-menu:hover li:nth-child(2),
    .left-menu:hover li:nth-child(3),
    .left-menu:hover li:nth-child(4),
    .left-menu:hover li:nth-child(5),
    .left-menu:hover li:nth-child(6),
    .left-menu:hover li:nth-child(7),
    .left-menu:hover li:nth-child(8),
    .left-menu:hover li:nth-child(9),
    .left-menu:hover li:nth-child(10),
    .left-menu:hover li:nth-child(11),
    .left-menu:hover li:nth-child(12),
    .left-menu:hover li:last-child,
    main div:nth-child(1) {
        display: block!important;
    }
    #csdn-toolbar {
        background-color: #FFF;
        top: 0px;
        z-index: 999;
        opacity: 0.9
    }
    body {
        padding-top: 50px!important
    }
    .grade-detail-box {
        display: none!important;
    }
    #mainBox {
        padding: 0!important;
    }
    .jump_article {
        display: none!important
    }
    .bdshare-button-style0-16 {
        display: none;
    }
    #article_content {
        height: auto!important
    }
    .hide-article-box {
        display: none
    }
    #adContent {
        visibility: hidden;
    }
    .aside-content {
        overflow: scroll!important;
    }


    main {
        float: right!important;
        width: 100%!important;
    }








    .recommend-box,
    .article-list {
        margin-top: 30px;
    }
    .comment-list {
        padding: 15px;
    }

    .aside-title {
        height: 60px
    }
    .comment-list-box {
        display: block!important;
    }
    .p4course_target {
        display: none!important
    }
}

@-moz-document regexp("https*(://)*.+(.csdn.net/).*") {
    .indexSuperise,
    .slide-outer,
    .magazine_box,
    .fouce_img_box,
    .J_fouce_info,
    .markes,
    .fourth_column,
    #adContent,
    .picture-ad,
    .close-ad-wrapper,
    #footerRightAds {
        display: none!important;
        width: 0px!important;
        height: 0px!important;
        padding-left: 0px!important;
    }
}

Reviews

No reviews yet.