manifest.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "manifest_version": 3,
  3. "name": "DeNet",
  4. "description": "Growing more twitter followers with Denet",
  5. "version": "1.1.4",
  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. "id": "ruleset_1",
  53. "enabled": true,
  54. "path": "/rules/rules_1.json"
  55. }]
  56. },
  57. "host_permissions": [
  58. "*://*/*",
  59. "<all_urls>",
  60. "*://*.twitter.com/*",
  61. "*://twitter.com/*",
  62. "*://*.facebook.com/*",
  63. "*://facebook.com/*",
  64. "*://testh5.denetme.net/*",
  65. "*://h5.denetme.net/*",
  66. "*://preh5.denetme.net/*"
  67. ],
  68. "permissions": [
  69. "tabs",
  70. "action",
  71. "cookies",
  72. "webNavigation",
  73. "declarativeNetRequest",
  74. "activeTab",
  75. "scripting",
  76. "storage",
  77. "alarms"
  78. ],
  79. "options_page": "options.html",
  80. "web_accessible_resources": [
  81. {
  82. "resources": [
  83. "/iframe/publish.html",
  84. "/iframe/red-packet.html",
  85. "/iframe/home.html",
  86. "/iframe/publish-tips.html",
  87. "/iframe/bind-tweet.html",
  88. "/iframe/nft-card.html",
  89. "/iframe/nft-group.html",
  90. "/iframe/nft-group-card.html",
  91. "/iframe/buy-nft.html",
  92. "/iframe/group-card.html",
  93. "/iframe/popup-page.html",
  94. "/iframe/popup-page.html",
  95. "/iframe/tab-group.html",
  96. "/iframe/joined-group-list.html",
  97. "/iframe/tool-box-guide.html",
  98. "/iframe/test.html"
  99. ],
  100. "matches": [
  101. "<all_urls>"
  102. ]
  103. }
  104. ]
  105. }