Greasy Fork is available in English.

csdn广告隐藏(顶部及侧边)

简单的csdn顶部及侧边广告隐藏

As of 27.10.2022. See ბოლო ვერსია.

// ==UserScript==
// @name         csdn广告隐藏(顶部及侧边)
// @namespace
// @include      *://*.csdn.net
// @include      *://*.csdn.net/*
// @version      0.5.2
// @description  简单的csdn顶部及侧边广告隐藏
// @author       ymzhao
// @namespace 
// @license      MIT
// @grant        GM_addStyle
// ==/UserScript==
GM_addStyle(`
    #csdn-toolbar .toolbar-advert,
    .csdn-common-logo-advert,
    .csdn-side-toolbar a[data-type="app"],
    .csdn-side-toolbar a[data-type="mpNps"],
    .csdn-side-toolbar a[data-type="guide"],
    [class*="advert"],
    .so-questionnaire,
    .blog-rank-footer,
    #asideNewNps,
    .top-special-info-pos,
    #nps-box {
        display: none !important;
    }
`);