From ea1d80b45b079c525555fbd6c784bac97790695d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 7 Oct 2022 23:56:31 +0545 Subject: [PATCH] stop using getURL This isn't available in MV3, and we don't need it either way. --- advanced.js | 2 +- popup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced.js b/advanced.js index 5916ed2..22faca0 100644 --- a/advanced.js +++ b/advanced.js @@ -47,7 +47,7 @@ function menu_ShowOptions () { } function menu_ShowAdvancedView() { - chrome.tabs.create({url:chrome.extension.getURL("advanced.html")}); + chrome.tabs.create({url: "/advanced.html"}); } function menu_ClearSelection () { diff --git a/popup.js b/popup.js index 313045e..c8b955b 100644 --- a/popup.js +++ b/popup.js @@ -38,7 +38,7 @@ function menu_ShowOptions () { } function menu_ShowAdvancedView() { - chrome.tabs.create({url:chrome.extension.getURL("advanced.html")}); + chrome.tabs.create({url: "/advanced.html"}); } function menu_ShowOlderBackups () { -- 2.39.2