manifest.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name": "FeHelper(前端助手)-Dev",
  3. "short_name": "FeHelper",
  4. "version": "2025.05.2013",
  5. "manifest_version": 3,
  6. "description": "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. "action": {
  13. "default_icon": "static/img/fe-16.png",
  14. "default_title": "FeHelper(前端助手)",
  15. "default_popup": "popup/index.html"
  16. },
  17. "background": {
  18. "service_worker": "background/background.js",
  19. "type": "module"
  20. },
  21. "options_ui": {
  22. "page": "options/index.html",
  23. "open_in_tab": true
  24. },
  25. "permissions": [
  26. "tabs",
  27. "scripting",
  28. "contextMenus",
  29. "activeTab",
  30. "storage",
  31. "notifications",
  32. "unlimitedStorage"
  33. ],
  34. "host_permissions": [
  35. "http://*/*",
  36. "https://*/*",
  37. "file://*/*"
  38. ],
  39. "optional_permissions": [
  40. "downloads"
  41. ],
  42. "commands": {
  43. "_execute_action": {
  44. "suggested_key": {
  45. "default": "Alt+Shift+J"
  46. }
  47. }
  48. },
  49. "web_accessible_resources": [
  50. {
  51. "resources":[
  52. "static/img/fe-16.png",
  53. "static/img/fe-48.png",
  54. "static/img/loading.gif",
  55. "json-format/format-lib.js",
  56. "json-format/json-abc.js",
  57. "json-format/json-bigint.js",
  58. "json-format/json-decode.js",
  59. "static/vendor/jquery/jquery-3.3.1.min.js",
  60. "static/vendor/evalCore.min.js",
  61. "screenshot/content-script.js",
  62. "background/awesome.js",
  63. "background/tools.js",
  64. "code-beautify/beautify.js",
  65. "code-beautify/beautify-css.js",
  66. "page-timing/timing.js"
  67. ],
  68. "matches": ["<all_urls>"]
  69. }
  70. ],
  71. "content_scripts": [
  72. {
  73. "matches": [
  74. "http://*/*",
  75. "https://*/*",
  76. "file://*/*"
  77. ],
  78. "exclude_globs": [
  79. "https://chrome.google.com/*"
  80. ],
  81. "js": [
  82. "static/vendor/jquery/jquery-3.3.1.min.js",
  83. "static/vendor/evalCore.min.js"
  84. ],
  85. "run_at": "document_start",
  86. "all_frames": true
  87. }
  88. ],
  89. "content_security_policy": {
  90. "extension_pages": "script-src 'self'; style-src 'self' 'unsafe-inline'; object-src 'self'"
  91. },
  92. "update_url": "https://clients2.google.com/service/update2/crx",
  93. "homepage_url": "https://www.baidufe.com/fehelper"
  94. }