Merge pull request #6 from SolninjaA/v1.3.1

v1.3.1 - Fix multiple context menus when the extension is refreshed on Chromium browsers
This commit is contained in:
SolninjaA 2025-01-30 19:11:39 +10:00 committed by GitHub
commit 9aef574167
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -364,6 +364,7 @@ function popupGenerateChhoto(url, title) {
browser.browserAction.onClicked.addListener(generateChhoto);
// Create a context menu
browser.contextMenus.removeAll();
browser.contextMenus.create({
title: "Manually generate a Chhoto URL",
contexts: ["all"]