Skip to content

CSDN 精简去广告 by alpherkin

Screenshot of CSDN 精简去广告

Details

Authoralpherkin

LicenseCC-BY-SA-4.0

CategoryCSDN,www.csdn.net

Created

Updated

Code size2.0 kB

Code checksum5363f71d

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

CSDN 首页居中重排版、精简广告、提升阅读体验

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           CSDN 精简去广告
@namespace      github.com/openstyles/stylus
@version        1.0.21.1109
@description    CSDN 首页居中重排版、精简广告、提升阅读体验
@author         无白Herkin

==/UserStyle== */



@-moz-document url-prefix("https://www.csdn.net"), url-prefix("https://blog.csdn.net"), url-prefix("https://download.csdn.net") {
	/*==============页面精简 通用广告==============*/
	
	/*首页、博客、下载: 顶栏部分*/
	#csdn-highschool-window,
	.csdn-buyside-entry-box.type2.show,
	.advertisement,
	.ad_fullWidth.www-banner-top,  /*横幅广告*/
	.toolbar-advert, /*顶栏横幅广告*/
	.toolbar-logo.toolbar-subMenu-box.csdn-toolbar-fl,/*csdn logo*/
	li[title="安装你的浏览器助手"],/*顶栏: 插件*/
	li[title="认证你的技术能力"],  /*顶栏: 认证*/
	.csdn-profile-no-vip,     /*非vip灰色logo*/
	.toolbar-btn.toolbar-btn-vip.csdn-toolbar-fl,/*顶栏:会员中心*/
	.csdn-side-toolbar/*右侧悬浮工具条*/{
		display: none !important;
	}
	
}


@-moz-document url-prefix("https://www.csdn.net") {
	/*==============首页排版 专用精简==============*/
	
	/*页面重排版居中*/
	.www-home-content.active,/*头条热点*/
	.www-home>div{
        justify-content: center;
	}
	
	#kp_box_www_swiper,/*右侧滚动广告卡片*/
	.www-home-Broadcast, /*首页右侧直播推荐*/
	.www-home-right/*首页右侧推荐栏*/ {
		display: none !important;
	}
}
@-moz-document url-prefix("https://blog.csdn.net"){
	/*==============博客页面 专用精简==============*/
	
	.blog_container_aside /*左栏: 卡片容器*/{
		
	}
	#asidedirectory/*文章目录: 移到最上*/ {
		
	}
	.comment-sofa-flag, /*评论沙发*/
	#footerRightAds,/*左栏: 广告盒子*/
	#asideArchive, /*左栏: 最新文章权重太高去不掉*/
	#asideHotArticle,  /*左栏: 热门文章*/
	#asideNewComments, /*左栏: 最新评价*/
    #asideNewNps      /*左栏: 推荐问卷*/{
		display: none !important;
	}
	
}



Reviews

No reviews yet.