Skip to content

Commit

Permalink
removed ToggleTab from the contextMenu libredirect/browser_extension#474
Browse files Browse the repository at this point in the history
  • Loading branch information
RustomDuck committed Dec 8, 2022
1 parent 9faf965 commit 5a6f3af
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/pages/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,20 +112,6 @@ browser.contextMenus.create({
contexts: ["browser_action"],
})

try {
browser.contextMenus.create({
id: "toggleTab",
title: browser.i18n.getMessage("toggleTab"),
contexts: ["page", "tab"],
})
} catch {
browser.contextMenus.create({
id: "toggleTab",
title: browser.i18n.getMessage("toggleTab"),
contexts: ["page"],
})
}

browser.contextMenus.create({
id: "redirectLink",
title: browser.i18n.getMessage("redirectLink"),
Expand Down

0 comments on commit 5a6f3af

Please sign in to comment.