feat: collect judgment standards through opt-in normal practice

This commit is contained in:
suanyuit-cyber
2026-10-30 04:32:48 +08:00
parent 6ba4905a7d
commit fcc8390faa
9 changed files with 1153 additions and 24 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ const root = __dirname;
const header = `// ==UserScript==
// @name 华谊题库助手 · CSV导出与划词检索
// @namespace local.huayi.question-bank
// @version 1.2.6
// @version 1.2.7
// @description 全网页快捷键唤出、本地题库文字检索与自动选择答案,按库导入导出;每页默认完全隐藏。
// @match *://*/*
// @run-at document-start
@@ -16,7 +16,7 @@ const header = `// ==UserScript==
// @grant GM_addValueChangeListener
// ==/UserScript==
`;
const sources = ['src/core.js', 'src/adapter.js', 'src/autofill.js', 'src/app.js'];
const sources = ['src/core.js', 'src/adapter.js', 'src/autofill.js', 'src/collector.js', 'src/app.js'];
const body = sources.map(file => `\n// ---- ${file} ----\n${fs.readFileSync(path.join(root, file), 'utf8')}`).join('\n');
fs.mkdirSync(path.join(root, 'dist'), { recursive: true });
const target = path.join(root, 'dist/huayi-question-bank.user.js');