manifest.development.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. "*://*.twitter.com/*",
  38. "*://twitter.com/*",
  39. "*://testh5.denetme.net/*",
  40. "*://h5.denetme.net/*",
  41. "*://preh5.denetme.net/*"
  42. ],
  43. "permissions": [
  44. "tabs",
  45. "action",
  46. "cookies",
  47. "activeTab",
  48. "scripting",
  49. "storage"
  50. ],
  51. "options_page": "options.html",
  52. "web_accessible_resources": [
  53. {
  54. "resources": [
  55. "/iframe/publish.html",
  56. "/iframe/red-packet.html",
  57. "/iframe/home.html"
  58. ],
  59. "matches": [
  60. "<all_urls>"
  61. ]
  62. }
  63. ]
  64. }