mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-03-20 01:37:46 +01:00
72 lines
1.6 KiB
JSON
72 lines
1.6 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Sample WebExtension",
|
|
"version": "3.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": [
|
|
"activeTab",
|
|
"storage"
|
|
],
|
|
"optional_permissions": [],
|
|
"host_permissions": [],
|
|
"optional_host_permissions": [
|
|
"http://*/*",
|
|
"https://*/*"
|
|
],
|
|
"content_security_policy": {
|
|
"extension_pages": "script-src 'self'; object-src 'self';"
|
|
},
|
|
"author": "abhijithvijayan",
|
|
"minimum_chrome_version": "88",
|
|
"action": {
|
|
"default_popup": "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"
|
|
},
|
|
"options_page": "Options/options.html",
|
|
"options_ui": {
|
|
"page": "Options/options.html",
|
|
"open_in_tab": true
|
|
},
|
|
"background": {
|
|
"service_worker": "assets/js/background.bundle.js",
|
|
"type": "module"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"run_at": "document_start",
|
|
"matches": [
|
|
"http://*/*",
|
|
"https://*/*"
|
|
],
|
|
"css": [],
|
|
"js": [
|
|
"assets/js/contentScript.bundle.js"
|
|
]
|
|
}
|
|
],
|
|
"web_accessible_resources": [
|
|
{
|
|
"resources": [
|
|
"assets/*"
|
|
],
|
|
"matches": [
|
|
"http://*/*",
|
|
"https://*/*"
|
|
]
|
|
}
|
|
]
|
|
} |