From 6a77821801a5cdd222cd6532733aa9265a917bf5 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Wed, 23 Oct 2024 01:19:02 +0800 Subject: [PATCH] chore: remove warning for multiple versions --- src/contentScripts/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/contentScripts/index.ts b/src/contentScripts/index.ts index 4331a8e9..2d0bcae3 100644 --- a/src/contentScripts/index.ts +++ b/src/contentScripts/index.ts @@ -183,12 +183,12 @@ function injectApp() { // Only the development mode bewly element remains const bewlyElArr: NodeListOf = document.querySelectorAll('#bewly') if (bewlyElArr.length > 0) { - alert(` - You have multiple versions of BewlyBewly installed. Please retain only one to avoid conflicts and issues! - 您安装了多个版本的 BewlyBewly。请只保留一个版本以避免冲突和问题! - 您安裝了多個版本的 BewlyBewly。請只保留一個版本以避免衝突和問題! - 你單咗幾個版本嘅 BewlyBewly。請淨係留一個版本嚟避免衝突同問題! - `) + // alert(` + // You have multiple versions of BewlyBewly installed. Please retain only one to avoid conflicts and issues! + // 您安装了多个版本的 BewlyBewly。请只保留一个版本以避免冲突和问题! + // 您安裝了多個版本的 BewlyBewly。請只保留一個版本以避免衝突和問題! + // 你單咗幾個版本嘅 BewlyBewly。請淨係留一個版本嚟避免衝突同問題! + // `) bewlyElArr.forEach((el: Element) => { const elVersion = el.getAttribute('data-version') || '0.0.0'