feat: add local question bank reset with stale-tab isolation

This commit is contained in:
suanyuit-cyber
2026-11-03 03:55:22 +08:00
parent 3df021e8d1
commit a7d2d30daa
8 changed files with 666 additions and 83 deletions
+3 -1
View File
@@ -4,7 +4,7 @@ const root = __dirname;
const header = `// ==UserScript==
// @name 华谊题库助手 · CSV导出与划词检索
// @namespace local.huayi.question-bank
// @version 1.2.7
// @version 1.2.8
// @description 全网页快捷键唤出、本地题库文字检索与自动选择答案,按库导入导出;每页默认完全隐藏。
// @match *://*/*
// @run-at document-start
@@ -12,8 +12,10 @@ const header = `// ==UserScript==
// @grant unsafeWindow
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_deleteValue
// @grant GM_registerMenuCommand
// @grant GM_addValueChangeListener
// @grant GM_removeValueChangeListener
// ==/UserScript==
`;
const sources = ['src/core.js', 'src/adapter.js', 'src/autofill.js', 'src/collector.js', 'src/app.js'];