clearCSDNDocument

clear CSDN Document

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        clearCSDNDocument
// @namespace    http://blog.csdn.net
// @version      0.4
// @description  clear CSDN Document
// @author       inmyfree
// @match        http://blog.csdn.net/*/article/details/*
// @match        https://blog.csdn.net/*/article/details/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var i = 0;
    var clearID = 0;
    function clearCSDNDocument() {
        $(".pulllog-box").css("display","none");
        if(i>2){
            window.clearInterval(clearID);
        }
        if(i===0){
            $(".hide-article-box").css("display","none");
            $("#article_content").css("height","unset");
            $("#article_content").css("overflow","unset");
        }
        i++;
        $(".hide-article-box").css("display","none");
        $("#article_content").css("height","unset");
        $("#article_content").css("overflow","unset");
    }
    clearID = window.setInterval(clearCSDNDocument, 500);

})();