Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name csdn去广告提取版
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author csdn
- // @match https://*.csdn.net/*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=csdn.net
- // @grant GM_addStyle
- // @run-at document-start
- // ==/UserScript==
- //相关帖:https://www.v2ex.com/t/935884
- GM_addStyle(`
- /* CSS代码 */
- /*csdn-so.css*/
- .search-result-brand,
- .wrap-top-brand {
- display: none !important;
- }
- /*csdn-edu.css*/
- #bottomAd {
- display: none;
- }
- /*csdn-download.css*/
- .main .page-container.page-component .top-bar{
- display: none !important;
- }
- /*csdn-www.css*/
- [id^='kp_box'] {
- display: none !important;
- }
- [id^='floor-ad'] {
- display: none;
- }
- #www-home-right .www-home-silde .broadcast-active,
- #www-home-right .www-home-silde .www-home-silde-top {
- display: none !important;
- }
- www-home-silde-top .ad_fullWidth,
- .top-banner,
- .hot-brand,
- .google-auto-placed {
- display: none !important;
- }
- /*common.css*/
- .ins.adsbygoogle {
- display: none;
- }
- [id^='kp_box'] {
- display: none;
- }
- /* body > .csdn-reapck-select */
- #csdn-toolbar .toolbar-advert ,
- #csdn-redpack {
- display: none !important;
- }
- /*csdn-blog.css*/
- [id^='kp_box'] {
- display: none;
- }
- .nodata .recommend-right[data-type='recommend'] #recommend-right > [class^='programmer'] {
- display: none !important;
- }
- .blog_container_aside > .box-shadow.mb8 {
- display: none !important;
- }
- .banner-ad-box {
- display: none !important;
- }
- `);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement