Hey Json ~
构建第一个Chrome 插件,使用bejson网站的模板,自动检测json请求并且将其格式化视图:FSCode2018年5月29日
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "Hey Json ~ ",
"version": "1.0",
"description": "构建第一个Chrome 插件,使用bejson网站的模板,自动检测json请求并且将其格式化视图:FSCode2018年5月29日",
"permissions": [
"*://*/*",
"<all_urls>",
"contextMenus"
],
"background": {
"scripts": [
"javaScript/jquery-1.10.2.js",
"background.js"
]
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"javaScript/jquery-1.10.2.js",
"content.js"
],
"run_at": "document_start"
}
],
"browser_action": {
"default_popup": "",
"default_icon": {
"16": "images/get_started16.png",
"32": "images/get_started32.png",
"48": "images/get_started48.png",
"128": "images/get_started128.png"
}
},
"icons": {
"16": "images/get_started16.png",
"32": "images/get_started32.png",
"48": "images/get_started48.png",
"128": "images/get_started128.png"
},
"manifest_version": 2,
"web_accessible_resources": [
"jsonFormat/*",
"jsonFormat/*/*"
]
}