CSDN Lite

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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