How to deal with the forced login of CSDN?

when the browser installs the ad blocking plug-in, CSDN initiates the mandatory login rogue restriction, and you can"t view the site without logging in!
how to access CSDN? without login while continuing to retain the ad blocking plug-in
ps. Can not give up, the search results on google are mostly links to CSDN


first you have to install an oil monkey plug-in tampermonkey
and then write a script

// ==UserScript==
// @name         csdn/blog
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://blog.csdn.net/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    document.styleSheets[0].addRule('.check-adblock-bg', 'display: none');
    var id = setInterval(function(){
        var dom = document.getElementById('check-adblock-time')
        if(dom) {
            var w = document.querySelector('.check-adblock-bg');
            w.style.display = 'none';
            var c = Number(dom.innerHTML);
            c = 864000;
            dom.innerHTML = c;
            clearInterval(id);
        }
    }, 1000);
})();

it's that simple


-csdn learn about


I have encountered the need to log in to see the full content for some time before, but now I don't seem to have this situation anymore. I don't know if it's the same as yours. The content has already been loaded, you can press F12 to delete the mask layer, or simply use the oil monkey to remove it automatically each time. However, with all due respect, a large part of the content found in CSDN is irrelevant, the same content (I don't know who copied who), poor quality, including XSS, can occasionally find useful things on CSDN, but personal experience is that most of the time what CSDN finds is useless. Anyway, if all the things found are CSDN, I will search in English for bing. If you Google finds all CSDN, you might as well search in English. Most of them will become stackoverflow.


chrome- > network- > block request url


https://zhuyuncheng.top/2018/.
about preventing CSDN login can take a look at this plugin


A website for programmers. What does that mean? In addition to increasing revulsion, F12

it seems that I can't see clearly what is on the picture after uploading the picture

  1. F12
  2. Delete div of class= "hide-article-box text-center"
  3. remove the height restriction for div of id= "article_content"


improve yourself not to watch csdn

Menu