Chrome does not allow opening webpage on chrome action. So I am removing this option for the Chrome extension, keeping it only in the Firefox one.
34 lines
933 B
JSON
34 lines
933 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Dicionarios.cc",
|
|
"version": "0.0.1",
|
|
"description": "An easy shortcut to Dicionarios.cc",
|
|
"icons": {
|
|
"16": "img/logo-16.png",
|
|
"48": "img/logo-48.png",
|
|
"96": "img/logo-96.png",
|
|
"128": "img/logo-128.png",
|
|
"140": "img/logo-140.png",
|
|
"260": "img/logo-260.png"
|
|
},
|
|
"background": {<<firefox>>
|
|
"scripts": ["background.js"]<</firefox>><<chrome>>
|
|
"service_worker": "background.js"<</chrome>>
|
|
},
|
|
"permissions": [
|
|
"contextMenus"
|
|
]<<firefox>>,
|
|
"action": {
|
|
"default_title": "Dicionarios.cc",
|
|
"default_popup": "https://dicionarios.cc"
|
|
},
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "{0ad357e8-8322-49d9-b1af-dc18934d8b78}"
|
|
},
|
|
"gecko_android": {
|
|
"id": "{0ad357e8-8322-49d9-b1af-dc18934d8b78}"
|
|
}
|
|
}<</firefox>>
|
|
}
|