CSDN Lite

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

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 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         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");