From cb8c201b95bedae36aa8003c98b7b819bab82289 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 17 Jan 2023 20:30:06 +0100 Subject: [PATCH] FIX: Use the `browser` object instead of `chrome` (inter-browser compatibility) --- src/popup/Popup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popup/Popup.vue b/src/popup/Popup.vue index 946fe7b..ef20f02 100644 --- a/src/popup/Popup.vue +++ b/src/popup/Popup.vue @@ -21,7 +21,7 @@ export default { }, async mounted() { - const [tab] = await chrome.tabs.query({ active: true, currentWindow: true }) + const [tab] = await browser.tabs.query({ active: true, currentWindow: true }) this.feedUrl = await browser.tabs.sendMessage(tab.id, {type: 'extractFeedUrl'}) }, }