Files
webextensions-examples/export-helpers/manifest.json
wbamberg b269b12a61 Add an example of how to use export helpers in content scripts (#86)
* Added example of using export helpers

* stop using wrapedJSObject with exportFunction; remove createObjectIn

* Updated for review comments

* Fix content_scripts 'matches' property
2017-10-23 16:21:24 -07:00

36 lines
739 B
JSON

{
"description": "Demonstrates how to use export helpers in Firefox to share objects with page scripts.",
"manifest_version": 2,
"name": "export-helpers",
"version": "1.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/export-helpers",
"icons": {
"48": "icons/arrow.svg"
},
"applications": {
"gecko": {
"id": "export-helpers@mozilla.org",
"strict_min_version": "49.0"
}
},
"background": {
"scripts": ["background.js"]
},
"content_scripts": [
{
"matches": ["https://mdn.github.io/webextensions-examples/export-helpers.html"],
"js": ["content_scripts/export.js"]
}
],
"permissions": [
"activeTab",
"notifications"
]
}