禁止保存的 CSDN 存档自动跳转首页

禁止保存的 CSDN 存档自动跳转首页。比如本地存档、Shiori 存档。

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

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.

You will need to install a user script manager extension to install this script.

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

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!)

ئاپتورى
IvanLi-CN
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
15
باھا نومۇرى
0 0 0
نەشرى
0.1
قۇرۇلغان ۋاقتى
2023-02-11
يېڭىلانغان ۋاقتى
2023-02-11
Size
641 بايت
ئىجازەتنامىسى
MIT
قوللايدىغىنى

# 禁止保存的 CSDN 存档自动跳转首页

禁止保存的 CSDN 存档自动跳转首页。比如本地存档、Shiori 存档。

CSDN 会检测当前网址是否在它的域名白名单中,如果不在将会跳转到 CSDN 首页。而存档的网页,比如保存到本地说存放到类似 Shiori 的网站存档后,读档时就会被跳转到 CSDN 首页,非常恶心。

这个脚本通过移除页面中的相关代码来避免 CSDN 跳转。如果有必要,需要将提供存档阅读服务的网址增加到用户匹配中!