Files
webextensions-examples/context-menu-copy-link-with-types/manifest.json
Aram Panasenco a2da599980 Make background script of context-menu-copy-link-with-types non-persistent? (#501)
* Made background script of context-menu-copy-link-with-types non-persistent. Now clearing errors that could result from background.js context menu creation happening more than once.

* Suggestions from code review

* Syntax error and formatting

* Added note about () => void browser.runtime.lastError

* Feedback suggestion

Co-authored-by: Rob Wu <rob@robwu.nl>

---------

Co-authored-by: rebloor <git@sherpa.co.nz>
Co-authored-by: Rob Wu <rob@robwu.nl>
2023-03-19 05:20:33 +13:00

21 lines
566 B
JSON

{
"manifest_version": 2,
"name": "Context menu: Copy link with types",
"description": "Add a context menu option to links to copy the link to the clipboard, as plain text and as a link in rich HTML.",
"version": "1.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/context-menu-copy-link-with-types",
"background": {
"scripts": [
"background.js"
],
"persistent": false
},
"permissions": [
"activeTab",
"contextMenus",
"clipboardWrite"
]
}