Pure_CSDN

净化CSDN

Від 07.03.2023. Дивіться остання версія.

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

(function () {
    'use strict';
    let all = []
    //博文左边侧边栏
    all.push(document.getElementsByClassName("blog_container_aside"))
    //博文分类专栏
    all.push(document.getElementById("rightAside"))
    for (let i = 0; i < all.length; i++) {
        let self = all[i]
        self.parentElement.removeChild(self)
    }
})();