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