manifest.json 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "WEB前端助手(FeHelper)",
  3. "version": "3.6",
  4. "manifest_version": 2,
  5. "default_locale": "zh_CN",
  6. "description": "FE助手:包括字符串编解码、代码美化、JSON格式化、二维码生成器、编码规范检测、页面性能检测、栅格检测等",
  7. "icons": {
  8. "16": "static/img/fe-16.png",
  9. "48": "static/img/fe-48.png",
  10. "128": "static/img/fe-128.png"
  11. },
  12. "browser_action": {
  13. "default_icon" : "static/img/fe-16.png",
  14. "default_title" : "WEB前端助手",
  15. "default_popup" : "template/fehelper_popup.html"
  16. },
  17. "background": {
  18. "persistent": false,
  19. "page": "template/fehelper_background.html"
  20. },
  21. "options_page": "template/fehelper_options.html",
  22. "permissions": [
  23. "tabs",
  24. "contextMenus",
  25. "cookies",
  26. "notifications",
  27. "alarms",
  28. "webNavigation",
  29. "\u003Call_urls\u003E"
  30. ],
  31. "web_accessible_resources": [
  32. "static/img/43.png",
  33. "static/img/baidufe_bj.png",
  34. "static/img/baidufe_bj.gif",
  35. "static/img/grid.png",
  36. "static/img/fe-18.png",
  37. "static/img/fe-48.png",
  38. "static/img/fe-128.png",
  39. "static/img/pbar-ani.gif",
  40. "static/img/ui-icons_228ef1_256x240.png",
  41. "static/css/fe-helper.css",
  42. "static/css/fe-jsonformat.css",
  43. "static/vendor/jquery-ui-1.8/css/jquery-ui-1.8.16.custom.hot_datauri.css"
  44. ],
  45. "content_scripts": [{
  46. "matches":["http://*/*","https://*/*","file://*/*"],
  47. "js":[
  48. "static/js/core/jquery-1.5.min.js",
  49. "static/vendor/jquery-ui-1.8/js/jquery-ui-1.8.11.custom.min.js",
  50. "static/js/core/core.js",
  51. "static/js/core/fe-const.js",
  52. "static/js/fe-option.js",
  53. "static/js/fcp/fcp-fl.js",
  54. "static/js/fcp/css/fcp-css-analytic.js",
  55. "static/js/fcp/css/fcp-css.js",
  56. "static/js/fcp/html/fcp-html-analytic.js",
  57. "static/js/fcp/html/fcp-html-doctype.js",
  58. "static/js/fcp/html/fcp-html.js",
  59. "static/js/fcp/js/fcp-js.js",
  60. "static/js/fcp/fcp-tabs.js",
  61. "static/js/fcp/fcp-main.js",
  62. "static/js/grid/grid-main.js",
  63. "static/js/fe-helper.js",
  64. "static/js/notification/fe-notification.js",
  65. "static/js/wpo/fe-calc-wpo.js",
  66. "static/js/jsonformat/json-format-dealer.js",
  67. "static/js/jsonformat/json-format-ent.js",
  68. "static/js/jsonformat/contentscript-jsonformat.js"
  69. ],
  70. "run_at":"document_end",
  71. "all_frames":false
  72. },{
  73. "matches":["http://*.baidufe.com/fehelper/*","http://*.baidufe.com/fehelper"],
  74. "js":[
  75. "static/js/fe-contentscript-fehelper.js"
  76. ],
  77. "run_at":"document_end",
  78. "all_frames":false
  79. }],
  80. "content_security_policy": "script-src 'self' https://ssl.google-analytics.com 'unsafe-eval'; object-src 'self'",
  81. "homepage_url": "http://www.baidufe.com/fehelper"
  82. }