feat & refactor: 支持app端签名的请求,支持右键操作书架书籍,逻辑大幅重构,更改默认的设备逻辑为自动注册,支持载入某些书籍内置的CSS、支持跳转正文注释等等

This commit is contained in:
naiy committed 2026-08-03 16:17:49 +08:00
1 parent 2f2ee606c0
commit 3586b01dbb
47 files changed
+3594 -243

No files matched your search

+3
View File
@@ -1,4 +1,5 @@
import type { HookConfig } from "../config"
import { settings } from "../settings"
// disable report
const blackList = [
@@ -16,6 +17,8 @@ const BLOCKED_BODY = JSON.stringify({
})
function checkBlack(url: string): boolean {
// 设置里关掉后即时放行,无需刷新页面
if (!settings.blockReport) return false
return blackList.some(black => url.includes(black))
}