Pure_CSDN

净化CSDN

18.04.2023 itibariyledir. En son verisyonu görün.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name        Pure_CSDN
// @namespace   https://blog.csdn.net/*
// @match       https://blog.csdn.net/*
// @grant       none
// @version     0.5
// @author      13号寄信人
// @description 净化CSDN
// @license     MIT
// ==/UserScript==

(function () {
    'use strict';
    const css =
        `
        .blog_container_aside {
            display: none !important;
        }
        #rightAside {
            display: none !important;
        }
        .csdn-side-toolbar {
            display: none !important;
        }
        #mainBox {
            display: flex !important;
            justfy-content: center !important;
        }
        `

    //------------------------移动端------------------------
    let mobileAll = []
    mobileAll.push(...document.getElementsByClassName('guide-box'))
    for (let i = 0; i < mobileAll.length; i++) {
        let self = mobileAll[i]
        self.parentElement.removeChild(self)
    }
})();