manifest.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "name": "WEB前端助手(FeHelper)",
  3. "version": "2018.04.0201",
  4. "manifest_version": 2,
  5. "default_locale": "zh_CN",
  6. "description": "FE助手:包括JSON格式化、二维码生成与解码、信息编解码、代码压缩、美化、页面取色、正则表达式、时间转换工具、编码规范检测、页面性能检测、Ajax接口调试",
  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": "popup/index.html"
  16. },
  17. "background": {
  18. "persistent": true,
  19. "scripts": [
  20. "static/vendor/require/require.js",
  21. "background/detect.js",
  22. "background/index.js"
  23. ]
  24. },
  25. "options_page": "options/index.html",
  26. "devtools_page":"ajax-debugger/index.html",
  27. "permissions": [
  28. "tabs",
  29. "contextMenus",
  30. "cookies",
  31. "notifications",
  32. "alarms",
  33. "webNavigation",
  34. "debugger",
  35. "\u003Call_urls\u003E"
  36. ],
  37. "web_accessible_resources": [
  38. "static/img/fe-16.png",
  39. "static/img/fe-48.png",
  40. "static/img/fe-128.png",
  41. "static/img/ui-icons.png",
  42. "background/network.js",
  43. "options/settings.js",
  44. "static/js/msg_type.js",
  45. "static/js/utils.js",
  46. "json-format/without-ui.css",
  47. "json-format/automatic.js",
  48. "json-format/format-lib.js",
  49. "qr-code/decode.js",
  50. "wpo/inject.js",
  51. "color-picker/index.js",
  52. "static/vendor/jquery/jquery-3.3.1.min.js",
  53. "code-standards/index.css",
  54. "code-standards/index.js",
  55. "code-standards/fcp-fl.js",
  56. "code-standards/css/fcp-css-analytic.js",
  57. "code-standards/css/fcp-css.js",
  58. "code-standards/html/fcp-html-analytic.js",
  59. "code-standards/html/fcp-html-doctype.js",
  60. "code-standards/html/fcp-html.js",
  61. "code-standards/js/fcp-js.js",
  62. "code-standards/fcp-tabs.js",
  63. "code-standards/fcp-main.js",
  64. "code-standards/pbar-ani.gif",
  65. "static/vendor/jquery/jquery-ui.min.css",
  66. "static/vendor/jquery/jquery-ui.min.js",
  67. "static/vendor/jquery/jquery.extend.js"
  68. ],
  69. "content_scripts": [
  70. {
  71. "matches": [
  72. "http://*/*",
  73. "https://*/*",
  74. "file://*/*"
  75. ],
  76. "js": [
  77. "static/vendor/jquery/jquery-3.3.1.min.js",
  78. "static/vendor/require/require.js",
  79. "static/js/msg_type.js",
  80. "content-script/index.js"
  81. ],
  82. "run_at": "document_end",
  83. "all_frames": false
  84. },
  85. {
  86. "matches": [
  87. "http://*.baidufe.com/fehelper/*",
  88. "http://*.baidufe.com/fehelper",
  89. "http://*.fehelper.com/fehelper/*",
  90. "http://*.fehelper.com/fehelper",
  91. "https://*.baidufe.com/fehelper/*",
  92. "https://*.baidufe.com/fehelper",
  93. "https://*.fehelper.com/fehelper/*",
  94. "https://*.fehelper.com/fehelper"
  95. ],
  96. "js": [
  97. "content-script/fehelper-only.js"
  98. ],
  99. "run_at": "document_start",
  100. "all_frames": false
  101. }
  102. ],
  103. "content_security_policy": "style-src 'self' 'unsafe-inline';script-src 'self' 'unsafe-eval'; object-src 'self' ",
  104. "update_url": "https://clients2.google.com/service/update2/crx",
  105. "homepage_url": "https://www.baidufe.com/fehelper"
  106. }