更新 Outline背景颜色修改.user.js

This commit is contained in:
2025-10-28 11:24:08 +08:00
parent c3710ded18
commit ea6586c41a

View File

@@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Outline背景颜色修改 // @name Outline背景颜色修改
// @namespace http://tampermonkey.net/ // @namespace http://tampermonkey.net/
// @version 2025-10-27 // @version 2025-10-28
// @description // @description
// @author ClanEver // @author ClanEver
// @match https://outline.eimsound.com/* // @match https://outline.eimsound.com/*
@@ -21,13 +21,19 @@
'.heading-actions', // h1, h2, ...前的# '.heading-actions', // h1, h2, ...前的#
'body', 'body',
'.keGgMX', // header '.keGgMX', // header
'.kiKzFH', // 内容页 body
// 内容页 body
'.kiKzFH',
'.jDTqnc',
'.kiKzFH',
'.fwyrwy', // 内容页 标题 '.fwyrwy', // 内容页 标题
'.cLXGaH', // 内容页 大纲 '.cLXGaH', // 内容页 大纲
'.jxgRW', // 主页 body '.jxgRW', // 主页 body
'.jHHYkE', // 主页 tab '.jHHYkE', // 主页 tab
'.kbOwGd', // 主页 list '.kbOwGd', // 主页 list
'.eZQAiy', // 子页面 list '.eZQAiy', // 子页面 list
'.gUQTOB', // 子页面 list
] ]
const need_change_css_str = need_change_css_selector.join(',') const need_change_css_str = need_change_css_selector.join(',')
const DEFAULT_COLOR = '#f7f8fa'; const DEFAULT_COLOR = '#f7f8fa';
@@ -56,4 +62,8 @@
} }
`; `;
document.documentElement.appendChild(style); document.documentElement.appendChild(style);
setInterval(function() {
document.body.style.setProperty("background", "#f7f8fa", "important");
}, 500);
})(); })();