From 6433e71943c7d56684f08759cc6c3a44abd0e3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B0=D0=B4=D0=B6=D0=B8=D0=BA=20=D0=93=D0=B0=D1=81?= =?UTF-8?q?=D0=BF=D0=B0=D1=80=D1=8F=D0=BD?= Date: Tue, 25 Jun 2024 00:39:50 +0300 Subject: [PATCH] fix: fix error on chrome extensions page --- src/components/Popup/MainHeader.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Popup/MainHeader.vue b/src/components/Popup/MainHeader.vue index d8549092d..013217771 100644 --- a/src/components/Popup/MainHeader.vue +++ b/src/components/Popup/MainHeader.vue @@ -171,7 +171,7 @@ export default Vue.extend({ const tab = await getCurrentTab(); // Insert content script - if (tab.id) { + if (tab.id && !tab.url?.startsWith("chrome:")) { await chrome.scripting.executeScript({ target: { tabId: tab.id }, files: ["/dist/content.js"],