From: Mike Frysinger Date: Fri, 7 Oct 2022 18:11:31 +0000 (+0545) Subject: stop using getURL X-Git-Tag: v0.3~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ea1d80b45b079c525555fbd6c784bac97790695d;p=chrome-ext%2Ftabs-backup.git stop using getURL This isn't available in MV3, and we don't need it either way. --- 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 () {