manifest.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "manifest_version": 3,
  3. "name": "DeNet",
  4. "description": "Growing more twitter followers with Denet",
  5. "version": "1.1.0",
  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. },
  18. "content_scripts": [
  19. {
  20. "matches":["<all_urls>"],
  21. "run_at": "document_start",
  22. "js": [
  23. "/js/content_help.js"
  24. ]
  25. },
  26. {
  27. "matches": [
  28. "https://*.twitter.com/*",
  29. "https://twitter.com/*",
  30. "https://www.facebook.com/*",
  31. "https://facebook.com/*",
  32. "*://testh5.denetme.net/*",
  33. "*://h5.denetme.net/*",
  34. "*://preh5.denetme.net/*"
  35. ],
  36. "run_at": "document_start",
  37. "js": [
  38. "/js/content.js"
  39. ]
  40. }
  41. ],
  42. "host_permissions": [
  43. "<all_urls>",
  44. "*://*.twitter.com/*",
  45. "*://twitter.com/*",
  46. "*://*.facebook.com/*",
  47. "*://facebook.com/*",
  48. "*://testh5.denetme.net/*",
  49. "*://h5.denetme.net/*",
  50. "*://preh5.denetme.net/*"
  51. ],
  52. "permissions": [
  53. "tabs",
  54. "action",
  55. "cookies",
  56. "activeTab",
  57. "scripting",
  58. "storage",
  59. "alarms"
  60. ],
  61. "options_page": "options.html",
  62. "web_accessible_resources": [
  63. {
  64. "resources": [
  65. "/iframe/publish.html",
  66. "/iframe/red-packet.html",
  67. "/iframe/home.html",
  68. "/iframe/publish-tips.html",
  69. "/iframe/bind-tweet.html",
  70. "/iframe/nft-card.html",
  71. "/iframe/nft-group.html",
  72. "/iframe/nft-group-card.html",
  73. "/iframe/buy-nft.html",
  74. "/iframe/group-card.html",
  75. "/iframe/popup-page.html",
  76. "/iframe/popup-page.html",
  77. "/iframe/tab-group.html",
  78. "/iframe/joined-group-list.html"
  79. ],
  80. "matches": [
  81. "<all_urls>"
  82. ]
  83. }
  84. ]
  85. }