Compare commits

...

1 Commits
v0.0.2 ... main

Author SHA1 Message Date
acddf49c71
fix: context menu now working again 2024-06-03 14:38:25 -03:00
2 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,8 @@ async function setupContextMenu() {
addContextMenu(" em FRA", "fra"); addContextMenu(" em FRA", "fra");
} }
} }
setupContextMenu();
chrome.runtime.onInstalled.addListener(() => setupContextMenu());
function addContextMenu(label, languageId) { function addContextMenu(label, languageId) {
chrome.contextMenus.create({ chrome.contextMenus.create({

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 3, "manifest_version": 3,
"name": "Dicionarios.cc", "name": "Dicionarios.cc",
"version": "0.0.2", "version": "0.0.3",
"description": "An easy shortcut to Dicionarios.cc", "description": "An easy shortcut to Dicionarios.cc",
"icons": { "icons": {
"16": "img/logo-16.png", "16": "img/logo-16.png",