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. "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://de-net-test.piaoquantv.com"
  36. ],
  37. "permissions": [
  38. "tabs",
  39. "action",
  40. "cookies",
  41. "declarativeNetRequest",
  42. "webNavigation",
  43. "activeTab",
  44. "scripting",
  45. "storage"
  46. ],
  47. "options_page": "options.html",
  48. "web_accessible_resources": [
  49. {
  50. "resources": [
  51. "/iframe/publish.html",
  52. "/iframe/red-packet.html"
  53. ],
  54. "matches": [
  55. "<all_urls>"
  56. ]
  57. }
  58. ]
  59. }