{
"manifest_version": 2,
"name": "My Extension",
"version": "versionString",
"default_locale": "en",
"description": "A plain text description",
"icons": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
},
"browser_action": {
"default_icon": "image/icon-128.png",
"default_title": "My Test",
"default_popup": "html/browser.html"
},
"page_action": {
"default_icon": "image/icon-48.png",
"default_title": "My Test",
"default_popup": "html/page.html"
},
"theme": {},
"app": {},
"author": "",
"automation": true,
"background": {
"persistent": false,
"script": ["background.js"],
"page":"html/background.html"
},
"background_page": ,
"chrome_settings_overrides": {},
"chrome_ui_overrides": {
"bookmarks_ui": {
"remove_bookmark_shortcut": true,
"remove_button": true
}
},
"chrome_url_overrides": {
"bookmarks": "myPage.html",
"history": "myPage.html",
"newtab": "myPage.html",
"pageToOverride": "html/overrides.html"
},
"commands": {
"_execute_browser_action": {
"suggested_key": {
"windows": "Ctrl+Shift+Y",
"mac": "Command+Shift+Y",
"chromeos": "Ctrl+Shift+U",
"linux": "Ctrl+Shift+J"
}
},
},
"content_capabilities": {
"matches": ["https://*.nyc.corp.google.com/*"],
"permissions": ["unlimitedStorage", "notifications"]
},
"content_scripts": [{
"matches": ["https://www.baidu.com/*"],
"css": ["css/mystyles.css"],
"js": ["lib/jquery-3.3.1.min.js", "js/content.js"]
}],
"content_security_policy": "script-src ‘self‘; object-src ‘self‘",
"converted_from_user_script": true,
"copresence": ,
"current_locale": ,
"devtools_page": "devtools.html",
"event_rules": [
{
"event": "declarativeContent.onPageChanged",
"actions": [{
"type": "declarativeContent.ShowPageAction"
}],
"conditions": [{
"type": "declarativeContent.PageStateMatcher",
"css": ["video"]
}]
}
],
"externally_connectable": {
"ids": [
"aaaaaaaaaa",
"bbbbbbbb",
"*"
],
"matches": ["*://*.example.com/*"],
"accepts_tls_channel_id": false
},
"file_browser_handlers": [{
"id": "upload",
"default_title": "Save to Gallery",
"file_filters": [
"filesystem:*.jpg",
"filesystem:*.jpeg",
"filesystem:*.png"
]
}],
"file_system_provider_capabilities": {
"configurable": true,
"multiple_mounts": true,
"source": "network"
},
"homepage_url": "http://path/to/homepage",
"export": {
"whitelist": [
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
]
},
"import": [{"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}],
"incognito": "spanning or split or not_allowed",
"intents": {},
"input_components": [
{
"name": "Test IME",
"type": "ime",
"id": "test",
"description": "Test IME",
"language": "en-US",
"layouts": ["us::eng"]
}
],
"key": "publicKey",
"minimum_chrome_version": "versionString",
"nacl_modules": [{
"path": "OpenOfficeViewer.nmf",
"mime_type": "application/vnd.oasis.opendocument.spreadsheet"
}],
"oauth2": ,
"offline_enabled": true,
"omnibox": {
"keyword": "aString"
},
"optional_permissions": ["tabs"],
"options_page": "options.html",
"options_ui": {
"chrome_style": true,
"page": "options.html"
},
"permissions": [
"https://www.baidu.com/*",
"background",
"tabs"
],
"platforms": ,
"plugins": [{
"path": "extension_plugin.dll",
"public": true
}],
"requirements": {
"3D": {
"features": ["webgl"]
}
},
"sandbox": [
{
"pages": [
"page1.html",
"directory/page2.html"
],
"content_security_policy": "sandbox allow-scripts; script-src https://www.google.com"
}
],
"short_name": "Short Name",
"signature": ,
"spellcheck": ,
"storage": {
"managed_schema": "schema.json"
},
"system_indicator": ,
"tts_engine": {
"voices": [
{
"voice_name": "Alice",
"lang": "en-US",
"gender": "female",
"event_types": ["start", "marker", "end"]
},
{
"voice_name": "Pat",
"lang": "en-US",
"event_types": ["end"]
}
]
},
"update_url": "http://myhost.com/mytestextension/updates.xml",
"version_name": "aString",
"web_accessible_resources": ["images/*.png"]
}