优化 代码

This commit is contained in:
xiu2
2021-05-13 19:57:39 +08:00
parent 597b5469ca
commit 288455893e
+2 -2
View File
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 护眼模式
// @version 1.0.0
// @version 1.0.1
// @author X.I.U
// @description 最简单的全网通用护眼模式、夜间模式、暗黑模式
// @match *://*/*
@@ -121,7 +121,7 @@
}
// 白天(7点到19点)
if (hours > 6 || hours < 19) {
if (hours > 6 && hours < 19) {
if (menu_value('menu_runDuringTheDay')) {
style_12 = style_11
style_22 = style_21