firefox.json 2.8 KB

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