manifest.development.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. "48": "/logo/48.png",
  12. "128": "/logo/128.png"
  13. },
  14. "action": {
  15. "default_popup": "popup.html"
  16. // "default_icon": {
  17. // "16": "/logo/16.png",
  18. // "48": "/logo/48.png",
  19. // "128": "/logo/128.png"
  20. // }
  21. },
  22. "content_scripts": [
  23. {
  24. "matches": [
  25. "<all_urls>"
  26. ],
  27. "run_at": "document_start",
  28. "js": [
  29. "/js/content.js"
  30. ]
  31. }
  32. ],
  33. "host_permissions": [
  34. "*://*/*",
  35. "https://testh5.denetme.net"
  36. ],
  37. "permissions": [
  38. "tabs",
  39. "action",
  40. "cookies",
  41. "activeTab",
  42. "scripting",
  43. "storage"
  44. ],
  45. "options_page": "options.html",
  46. "web_accessible_resources": [
  47. {
  48. "resources": [
  49. "/iframe/publish.html",
  50. "/iframe/red-packet.html",
  51. "/iframe/home.html"
  52. ],
  53. "matches": [
  54. "<all_urls>"
  55. ]
  56. }
  57. ]
  58. }