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

This commit is contained in:
2025-10-27 10:06:07 +08:00
parent cf216c76f5
commit c3710ded18

View File

@@ -1,7 +1,7 @@
// ==UserScript==
// @name Outline背景颜色修改
// @namespace http://tampermonkey.net/
// @version 2025-06-27
// @version 2025-10-27
// @description
// @author ClanEver
// @match https://outline.eimsound.com/*
@@ -19,15 +19,15 @@
const need_change_css_selector = [
'.heading-actions', // h1, h2, ...前的#
'.byXfdg', // header
'.cENRKu', // body
'.VYaRH', // 标题
'.fTNybC', // 大纲
'.gAJGaK', // body
'.hzusXH', // tab
'.jyiNkt', // list
'.eSXWfi', // tab
'.grkcCz', // list
'body',
'.keGgMX', // header
'.kiKzFH', // 内容页 body
'.fwyrwy', // 内容页 标题
'.cLXGaH', // 内容页 大纲
'.jxgRW', // 主页 body
'.jHHYkE', // 主页 tab
'.kbOwGd', // 主页 list
'.eZQAiy', // 子页面 list
]
const need_change_css_str = need_change_css_selector.join(',')
const DEFAULT_COLOR = '#f7f8fa';
@@ -56,7 +56,4 @@
}
`;
document.documentElement.appendChild(style);
//window.addEventListener('load', () => {
// document.head.appendChild(style);
//});
})();