From 38d379d1935a27c5d8a32e868e00c91645edab5e Mon Sep 17 00:00:00 2001 From: Nutthapat Pongtanyavichai Date: Thu, 3 Apr 2025 10:21:10 +0700 Subject: [PATCH] fix: content script should only run on target site --- extension/manifest.json | 2 +- extension/manifest.qa.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extension/manifest.json b/extension/manifest.json index 6c2e057..e73ec7f 100755 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -17,7 +17,7 @@ "permissions": ["activeTab"], "content_scripts": [ { - "matches": ["http://*/*", "https://*/*", ""], + "matches": ["https://alpha.mycourseville.com/*"], "js": ["src/pages/content/index.ts"], "css": ["contentStyle.css"] } diff --git a/extension/manifest.qa.json b/extension/manifest.qa.json index 6c2e057..e73ec7f 100755 --- a/extension/manifest.qa.json +++ b/extension/manifest.qa.json @@ -17,7 +17,7 @@ "permissions": ["activeTab"], "content_scripts": [ { - "matches": ["http://*/*", "https://*/*", ""], + "matches": ["https://alpha.mycourseville.com/*"], "js": ["src/pages/content/index.ts"], "css": ["contentStyle.css"] }