From 2e8788e32841c5143ba8520d66306e6cc5d8f44d Mon Sep 17 00:00:00 2001 From: Brendan Early Date: Sat, 29 Jun 2024 13:39:18 -0500 Subject: [PATCH] Revert "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 02937dbe..a05ccd00 100644 --- a/src/components/Popup/MainHeader.vue +++ b/src/components/Popup/MainHeader.vue @@ -160,7 +160,7 @@ export default Vue.extend({ const tab = await getCurrentTab(); // Insert content script - if (tab.id && !tab.url?.startsWith("chrome:")) { + if (tab.id) { await chrome.scripting.executeScript({ target: { tabId: tab.id }, files: ["/dist/content.js"],