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