diff --git a/background.js b/background.js index accfa12..346d693 100644 --- a/background.js +++ b/background.js @@ -138,19 +138,23 @@ async function onCommand(cmd) { ret = false; switch (cmd) { case "cpyalllnk": + case "cpyalllnknp": tabs = await browser.tabs.query(qryObj); ret = copyTabsAsHtml(tabs); break; case "cpyalltxt": + case "cpyalltxtnp": tabs = await browser.tabs.query(qryObj); ret = copyTabsAsText(tabs); break; case "cpysellnk": + case "cpysellnknp": qryObj["highlighted"] = true; tabs = await browser.tabs.query(qryObj); ret = copyTabsAsHtml(tabs); break; case "cpyseltxt": + case "cpyseltxtnp": qryObj["highlighted"] = true; tabs = await browser.tabs.query(qryObj); ret = copyTabsAsText(tabs); diff --git a/manifest.json b/manifest.json index f89d2f0..a262772 100644 --- a/manifest.json +++ b/manifest.json @@ -52,5 +52,5 @@ }, "permissions": ["clipboardWrite", "storage", "menus", "tabs"], "optional_permissions": ["notifications"], - "version": "1.14.41" + "version": "1.14.42" } diff --git a/options.js b/options.js index c17d129..33acb27 100644 --- a/options.js +++ b/options.js @@ -50,7 +50,7 @@ function onLoad() { ); } - ["toolbarAction", "noURLParams"].map((id) => { + ["toolbarAction"].map((id) => { browser.storage.local .get(id) .then((obj) => {