From f9922df95e244eb7abcde41c9389e7ea5430be80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Wed, 24 Jul 2024 23:15:12 +0800 Subject: [PATCH] fix --- LunaTranslator/LunaTranslator/translator/commonhookxhrstream.js | 1 + 1 file changed, 1 insertion(+) diff --git a/LunaTranslator/LunaTranslator/translator/commonhookxhrstream.js b/LunaTranslator/LunaTranslator/translator/commonhookxhrstream.js index 3cd0fb28..6d3b1380 100644 --- a/LunaTranslator/LunaTranslator/translator/commonhookxhrstream.js +++ b/LunaTranslator/LunaTranslator/translator/commonhookxhrstream.js @@ -2,6 +2,7 @@ window.hasdone = false window.thistext = '' if (window.injectedjs) return + window.injectedjs = true const originXHR = XMLHttpRequest window.XMLHttpRequest = function () { var newxhr = new originXHR()