manifest.development.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "manifest_version": 3,
  3. "name": "DeNet",
  4. "description": "chrome extension",
  5. "version": "0.0.1",
  6. "background": {
  7. "service_worker": "/js/background.js"
  8. },
  9. "icons": {
  10. "16": "/logo/16.png",
  11. "32": "/logo/32.png",
  12. "48": "/logo/48.png",
  13. "128": "/logo/128.png"
  14. },
  15. "action": {
  16. "default_popup": "popup.html"
  17. // "default_icon": {
  18. // "16": "/logo/16.png",
  19. // "48": "/logo/48.png",
  20. // "128": "/logo/128.png"
  21. // }
  22. },
  23. "content_scripts": [
  24. {
  25. "matches": [
  26. "<all_urls>"
  27. ],
  28. "run_at": "document_start",
  29. "js": [
  30. "/js/content.js"
  31. ]
  32. }
  33. ],
  34. "host_permissions": [
  35. "*://*/*",
  36. "https://testh5.denetme.net"
  37. ],
  38. "permissions": [
  39. "tabs",
  40. "action",
  41. "cookies",
  42. "activeTab",
  43. "scripting",
  44. "storage"
  45. ],
  46. "options_page": "options.html",
  47. "web_accessible_resources": [
  48. {
  49. "resources": [
  50. "/iframe/publish.html",
  51. "/iframe/red-packet.html",
  52. "/iframe/home.html"
  53. ],
  54. "matches": [
  55. "<all_urls>"
  56. ]
  57. }
  58. ]
  59. }