mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02:00
add sample browser json manifests
This commit is contained in:
parent
d52f303551
commit
16605c8619
39
src/manifest/chrome.json
Normal file
39
src/manifest/chrome.json
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 2,
|
||||||
|
"name": "Sample WebExtension",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"author": "abhijithvijayan",
|
||||||
|
"short_name": "Sample Name",
|
||||||
|
"description": "Sample description",
|
||||||
|
"homepage_url": "https://github.com/abhijithvijayan/web-extension-starter",
|
||||||
|
"background": {
|
||||||
|
"persistent": false,
|
||||||
|
"scripts": ["js/background.js"]
|
||||||
|
},
|
||||||
|
"minimum_chrome_version": "49",
|
||||||
|
"permissions": ["tabs", "storage", "http://*/*", "https://*/*"],
|
||||||
|
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"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",
|
||||||
|
"chrome_style": false
|
||||||
|
},
|
||||||
|
"options_page": "options.html",
|
||||||
|
"options_ui": {
|
||||||
|
"page": "options.html",
|
||||||
|
"chrome_style": false,
|
||||||
|
"open_in_tab": true
|
||||||
|
}
|
||||||
|
}
|
||||||
35
src/manifest/firefox.json
Normal file
35
src/manifest/firefox.json
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 2,
|
||||||
|
"name": "Sample WebExtension",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"author": "abhijithvijayan",
|
||||||
|
"short_name": "Sample Name",
|
||||||
|
"description": "Sample description",
|
||||||
|
"homepage_url": "https://github.com/abhijithvijayan/kutt-extension",
|
||||||
|
"background": {
|
||||||
|
"scripts": ["js/background.js"]
|
||||||
|
},
|
||||||
|
"permissions": ["tabs", "storage", "http://*/*", "https://*/*"],
|
||||||
|
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
}
|
||||||
40
src/manifest/opera.json
Normal file
40
src/manifest/opera.json
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 2,
|
||||||
|
"name": "Sample WebExtension",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"developer": {
|
||||||
|
"name": "abhijithvijayan"
|
||||||
|
},
|
||||||
|
"short_name": "Sample Name",
|
||||||
|
"description": "Sample description",
|
||||||
|
"homepage_url": "https://github.com/abhijithvijayan/web-extension-starter",
|
||||||
|
"background": {
|
||||||
|
"persistent": false,
|
||||||
|
"scripts": ["js/background.js"]
|
||||||
|
},
|
||||||
|
"minimum_opera_version": "36",
|
||||||
|
"permissions": ["tabs", "storage", "http://*/*", "https://*/*"],
|
||||||
|
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"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",
|
||||||
|
"chrome_style": false
|
||||||
|
},
|
||||||
|
"options_page": "options.html",
|
||||||
|
"options_ui": {
|
||||||
|
"page": "options.html",
|
||||||
|
"open_in_tab": true
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user