diff --git a/@types/global/index.d.ts b/@types/global/index.d.ts
index 7a07098c5..81843d6af 100644
--- a/@types/global/index.d.ts
+++ b/@types/global/index.d.ts
@@ -348,6 +348,10 @@ declare global {
doubleClickFullscreenPreventSingleClick: boolean
simplifyHome: boolean,
simplifyHomeStyle: '清爽' | '极简',
+ ajaxHook: boolean,
+ scriptLoadingMode: '同时' | '延后' | '同时(自动)' | '延后(自动)' | '自动',
+ scriptDownloadMode: 'bundle' | 'legacy'
+ guiSettingsDockSide: '左侧' | '右侧'
latestVersionLink: string,
currentVersion: string,
}
@@ -380,5 +384,7 @@ declare global {
const getDpiSourceSet: (src: string, baseSize: number | string | { width?: number | string, height?: number | string }, extension?: string) => string
const isOffline: () => boolean
const getUID: () => string
+ type ScriptVersion = 'Stable' | 'Preview' | 'Offline' | 'Preview Offline' | 'Local' | 'Local preview' | 'Local stable' | 'Local offline' | 'Local preview offline'
+ const scriptVersion: ScriptVersion
}
export { };
\ No newline at end of file
diff --git a/README.md b/README.md
index 3121251b8..a915d9cef 100644
--- a/README.md
+++ b/README.md
@@ -610,6 +610,21 @@
设定侧栏的垂直偏移量, 单位为百分比, 允许的范围为 -40% ~ 40%.
+
+Ajax Hook API
+
+是否启用 Ajax Hook API, 其他插件或附加功能能够通过此 API 获取 Ajax 请求的信息.
+
+加载模式
+
+脚本功能的加载模式:
+- 同时: 与b站页面同时加载
+- 延后: 优先加载b站页面, 在b站页面加载完成后再开始加载脚本功能
+- 自动: 根据页面自动选择加载模式
+
v{{version}} · {{clientType}}
Made with ❤ Buy me a coffee ☕
v{{version}} · {{clientType}}
Made with ❤ Buy me a coffee ☕
v{{version}} · {{clientType}}
Made with ❤ Buy me a coffee ☕
v{{version}} · {{clientType}}
Made with ❤ Buy me a coffee ☕