feat: support translate all now

This commit is contained in:
Gabe
2025-10-01 21:18:53 +08:00
parent 3c5ffc045f
commit c993c15c92
8 changed files with 56 additions and 38 deletions

View File

@@ -201,7 +201,7 @@ export async function run(isUserscript = false) {
// 翻译网页
const rule = await matchRule(href, setting);
const translator = new Translator(rule, setting);
const translator = new Translator(rule, setting, isUserscript);
// 适配iframe
if (isIframe) {