From 9fb43078fef1ef8c0a7f848eb70f9220ef53c521 Mon Sep 17 00:00:00 2001 From: EduarteXD Date: Sat, 3 May 2025 00:43:43 +0800 Subject: [PATCH] feat: add SC-BOX-TRANSLATE-API-AVAILABLE message --- StarCitizenBoxBrowserEx/content.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/StarCitizenBoxBrowserEx/content.js b/StarCitizenBoxBrowserEx/content.js index 21ae5b4..e222f63 100644 --- a/StarCitizenBoxBrowserEx/content.js +++ b/StarCitizenBoxBrowserEx/content.js @@ -43,4 +43,6 @@ window.addEventListener('message', async (event) => { requestId, response }, '*'); -}); \ No newline at end of file +}); + +window.postMessage({ type: 'SC-BOX-TRANSLATE-API-AVAILABLE' }, '*'); \ No newline at end of file