CSDN Lite

简化CSDN文章页面,去除侧边栏,去除下方课程推荐栏、下载推荐栏,全屏显示文章

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         CSDN Lite
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  简化CSDN文章页面,去除侧边栏,去除下方课程推荐栏、下载推荐栏,全屏显示文章
// @author       Meteora
// @match        https://*.csdn.net/*
// @grant        none
// ==/UserScript==


//去侧边栏
$('#mainBox > aside').remove();
//去除文章下方关于 课程、下载 的推荐栏
$('#mainBox > main > div.recommend-box.first-recommend-box').remove();
$('#mainBox > main > div.recommend-box.second-recommend-box').remove();
$('div.recommend-download-box').remove();
$('div.type_course').remove();
//修改CSS
$("#mainBox > main").css("float","none");
$("#mainBox > main").css("width","100%");
$("#mainBox > main").css("padding","0");