From c3710ded182a85e9e490b5b76d20c56ab96e4b8b Mon Sep 17 00:00:00 2001 From: ClanEver <562211524@qq.com> Date: Mon, 27 Oct 2025 10:06:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Outline=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E4=BF=AE=E6=94=B9.user.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Outline背景颜色修改.user.js | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/Outline背景颜色修改.user.js b/Outline背景颜色修改.user.js index 6133067..bc68f0e 100644 --- a/Outline背景颜色修改.user.js +++ b/Outline背景颜色修改.user.js @@ -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); - //}); })();