manifest.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "manifest_version": 3,
  3. "name": "DeNet",
  4. "description": "Growing more twitter followers with Denet",
  5. "version": "1.1.5",
  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": [
  21. "<all_urls>"
  22. ],
  23. "run_at": "document_start",
  24. "js": [
  25. "/js/content_help.js"
  26. ],
  27. "css": [
  28. "/css/content_help.css"
  29. ]
  30. },
  31. {
  32. "matches": [
  33. "https://*.twitter.com/*",
  34. "https://twitter.com/*",
  35. "https://www.facebook.com/*",
  36. "https://facebook.com/*",
  37. "*://testh5.denetme.net/*",
  38. "*://h5.denetme.net/*",
  39. "*://preh5.denetme.net/*"
  40. ],
  41. "run_at": "document_idle",
  42. "js": [
  43. "/js/content.js"
  44. ]
  45. }
  46. ],
  47. "optional_permissions": [
  48. "declarativeNetRequest"
  49. ],
  50. "declarative_net_request": {
  51. "rule_resources": [
  52. {
  53. "id": "ruleset_1",
  54. "enabled": true,
  55. "path": "/rules/rules_1.json"
  56. }
  57. ]
  58. },
  59. "host_permissions": [
  60. "*://*/*",
  61. "<all_urls>",
  62. "*://*.twitter.com/*",
  63. "*://twitter.com/*",
  64. "*://*.facebook.com/*",
  65. "*://facebook.com/*",
  66. "*://testh5.denetme.net/*",
  67. "*://h5.denetme.net/*",
  68. "*://preh5.denetme.net/*"
  69. ],
  70. "permissions": [
  71. "tabs",
  72. "action",
  73. "cookies",
  74. "webNavigation",
  75. "declarativeNetRequest",
  76. "activeTab",
  77. "scripting",
  78. "storage",
  79. "alarms"
  80. ],
  81. "options_page": "options.html",
  82. "web_accessible_resources": [
  83. {
  84. "resources": [
  85. "/iframe/publish.html",
  86. "/iframe/red-packet.html",
  87. "/iframe/home.html",
  88. "/iframe/publish-tips.html",
  89. "/iframe/bind-tweet.html",
  90. "/iframe/nft-card.html",
  91. "/iframe/nft-group.html",
  92. "/iframe/nft-group-card.html",
  93. "/iframe/buy-nft.html",
  94. "/iframe/group-card.html",
  95. "/iframe/popup-page.html",
  96. "/iframe/popup-page.html",
  97. "/iframe/tab-group.html",
  98. "/iframe/joined-group-list.html",
  99. "/iframe/tool-box-guide.html",
  100. "/iframe/test.html"
  101. ],
  102. "matches": [
  103. "<all_urls>"
  104. ]
  105. }
  106. ]
  107. }