mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02:00
58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "Sample WebExtension",
|
|
"version": "1.0.0",
|
|
"icons": {
|
|
"16": "assets/icons/favicon-16.png",
|
|
"32": "assets/icons/favicon-32.png",
|
|
"48": "assets/icons/favicon-48.png",
|
|
"128": "assets/icons/favicon-128.png"
|
|
},
|
|
"description": "Sample description",
|
|
"homepage_url": "https://github.com/abhijithvijayan/web-extension-starter",
|
|
"short_name": "Sample Name",
|
|
"permissions": [
|
|
"tabs",
|
|
"storage",
|
|
"http://*/*",
|
|
"https://*/*"
|
|
],
|
|
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
|
"author": "abhijithvijayan",
|
|
"applications": {
|
|
"gecko": {
|
|
"id": "{754FB1AD-CC3B-4856-B6A0-7786F8CA9D17}"
|
|
}
|
|
},
|
|
"browser_action": {
|
|
"default_popup": "popup.html",
|
|
"default_icon": {
|
|
"16": "assets/icons/favicon-16.png",
|
|
"32": "assets/icons/favicon-32.png",
|
|
"48": "assets/icons/favicon-48.png",
|
|
"128": "assets/icons/favicon-128.png"
|
|
},
|
|
"default_title": "tiny title",
|
|
"browser_style": false
|
|
},
|
|
"options_ui": {
|
|
"page": "options.html",
|
|
"open_in_tab": true
|
|
},
|
|
"background": {
|
|
"scripts": [
|
|
"js/background.bundle.js"
|
|
]
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"http://*/*",
|
|
"https://*/*"
|
|
],
|
|
"js": [
|
|
"js/contentScript.bundle.js"
|
|
]
|
|
}
|
|
]
|
|
} |