Initial commit with README

This commit is contained in:
GVSADS
2026-01-25 17:01:16 +08:00
commit 246bbd8fd9
106 changed files with 2071 additions and 0 deletions

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

55
home/root/Desktop/1.js Normal file
View File

@@ -0,0 +1,55 @@
// ==UserScript==
// @name CSDN文库免vip阅读全文解锁复制限制
// @namespace http://tampermonkey.net/
// @version 1.0
// @description CSDN文库阅读全文去除VIP登录遮罩解锁鼠标复制功能
// @author icescat
// @match *://*.csdn.net/*
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
const adjustArticle = () => {
// 移除遮罩层
document.querySelectorAll('.open, .vip').forEach(el => el.remove());
// 展开被限制高度的内容
const articleContainer = document.querySelector('.article-box .cont.first-show[data-v-6487a68f]');
if (articleContainer) {
articleContainer.style.maxHeight = 'none';
}
};
// 启用复制功能
const enableCopy = () => {
document.body.oncopy = null;
document.oncopy = null;
document.querySelectorAll('*').forEach(el => {
el.style.userSelect = 'auto';
});
};
// 使用MutationObserver来监视文档的变化
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
if (mutation.addedNodes.length) {
adjustArticle();
enableCopy();
}
});
});
observer.observe(document.body, {
childList: true,
subtree: true
});
// 页面加载时尝试执行一次
window.addEventListener('load', () => {
adjustArticle();
enableCopy();
});
})();

11
home/root/Desktop/1.txt Normal file
View File

@@ -0,0 +1,11 @@
// ==UserScript==
// @name CSDN文库免vip阅读全文解锁复制限制
// @namespace http://tampermonkey.net/
// @version 1.0
// @description CSDN文库阅读全文去除VIP登录遮罩解锁鼠标复制功能
// @author icescat
// @match *://*.csdn.net/*
// @grant none
// @license MIT
// ==/UserScript==

View File

@@ -0,0 +1,6 @@
{
"SApp":"music",
"Start":"__init__.mia",
"display-ico":"ICO.png",
"F":""
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

View File

@@ -0,0 +1,6 @@
{
"SApp":"CALC",
"Start":"__init__.mia",
"display-ico":"ICO.png",
"F":""
}

View File

@@ -0,0 +1,6 @@
{
"SApp":"setting",
"Start":"__init__.mia",
"display-ico":"ICO.png",
"F":""
}

1
home/root/PASSWD Normal file
View File

@@ -0,0 +1 @@
ROOT