JSONViewer
测试开发中有时候服务器可能没有将content-type设置为application/json,使用本插件依旧可以显示格式化后的JSON字符串
Additional files are visible only to premium users
manifest.json
{
"content_scripts": [
{
"matches": [
"*://*/*"
],
"js": [
"JSONViewer.js"
],
"css": [
"JSONViewer.css"
],
"run_at": "document_end"
}
],
"icons": {
"48": "icon/icon-48.png",
"96": "icon/icon-96.png"
},
"description": "测试开发中有时候服务器可能没有将content-type设置为application/json,使用本插件依旧可以显示格式化后的JSON字符串",
"manifest_version": 2,
"name": "JSONViewer",
"version": "1.0"
}