manifest.development.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. "https://*.twitter.com/*",
  27. "https://twitter.com/*"
  28. ],
  29. "run_at": "document_start",
  30. "js": [
  31. "/js/content.js"
  32. ]
  33. }
  34. ],
  35. "host_permissions": [
  36. "*://*/*",
  37. "https://twitter.com/*",
  38. "https://testh5.denetme.net/*",
  39. "https://h5.denetme.net/*",
  40. "https://preh5.denetme.net/*"
  41. ],
  42. "permissions": [
  43. "tabs",
  44. "action",
  45. "cookies",
  46. "activeTab",
  47. "scripting",
  48. "storage"
  49. ],
  50. "options_page": "options.html",
  51. "web_accessible_resources": [
  52. {
  53. "resources": [
  54. "/iframe/publish.html",
  55. "/iframe/red-packet.html",
  56. "/iframe/home.html"
  57. ],
  58. "matches": [
  59. "<all_urls>"
  60. ]
  61. }
  62. ]
  63. }