manifest.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. {
  2. "manifest_version": 3,
  3. "name": "多页面自动化",
  4. "version": "2.4",
  5. "version_name": "Pro2.4",
  6. "description": "用于自动执行多步骤 OAuth 注册流程",
  7. "permissions": [
  8. "sidePanel",
  9. "alarms",
  10. "tabs",
  11. "webNavigation",
  12. "declarativeNetRequest",
  13. "debugger",
  14. "browsingData",
  15. "cookies",
  16. "storage",
  17. "scripting",
  18. "activeTab"
  19. ],
  20. "host_permissions": [
  21. "https://*.icloud.com/*",
  22. "https://*.icloud.com.cn/*",
  23. "<all_urls>"
  24. ],
  25. "background": {
  26. "service_worker": "background.js"
  27. },
  28. "declarative_net_request": {
  29. "rule_resources": [
  30. {
  31. "id": "icloud_headers",
  32. "enabled": true,
  33. "path": "rules.json"
  34. }
  35. ]
  36. },
  37. "side_panel": {
  38. "default_path": "sidepanel/sidepanel.html"
  39. },
  40. "content_scripts": [
  41. {
  42. "matches": [
  43. "https://auth0.openai.com/*",
  44. "https://auth.openai.com/*",
  45. "https://accounts.openai.com/*"
  46. ],
  47. "js": [
  48. "content/activation-utils.js",
  49. "content/utils.js",
  50. "content/auth-page-recovery.js",
  51. "content/signup-page.js"
  52. ],
  53. "run_at": "document_idle"
  54. },
  55. {
  56. "matches": [
  57. "https://mail.qq.com/*",
  58. "https://wx.mail.qq.com/*"
  59. ],
  60. "js": [
  61. "content/activation-utils.js",
  62. "content/utils.js",
  63. "content/qq-mail.js"
  64. ],
  65. "all_frames": true,
  66. "run_at": "document_idle"
  67. },
  68. {
  69. "matches": [
  70. "https://mail.163.com/*",
  71. "https://*.mail.163.com/*",
  72. "https://webmail.vip.163.com/*"
  73. ],
  74. "js": [
  75. "content/activation-utils.js",
  76. "content/utils.js",
  77. "content/mail-163.js"
  78. ],
  79. "all_frames": true,
  80. "run_at": "document_idle"
  81. },
  82. {
  83. "matches": [
  84. "https://www.icloud.com/*",
  85. "https://www.icloud.com.cn/*"
  86. ],
  87. "js": [
  88. "content/activation-utils.js",
  89. "content/utils.js",
  90. "content/icloud-mail.js"
  91. ],
  92. "all_frames": true,
  93. "run_at": "document_idle"
  94. },
  95. {
  96. "matches": [
  97. "https://duckduckgo.com/email/settings/autofill*"
  98. ],
  99. "js": [
  100. "content/activation-utils.js",
  101. "content/utils.js",
  102. "content/duck-mail.js"
  103. ],
  104. "run_at": "document_idle"
  105. },
  106. {
  107. "matches": [
  108. "https://checkout.stripe.com/*",
  109. "https://pay.openai.com/*"
  110. ],
  111. "js": [
  112. "content/activation-utils.js",
  113. "content/utils.js",
  114. "content/checkout-stripe.js"
  115. ],
  116. "run_at": "document_idle"
  117. },
  118. {
  119. "matches": [
  120. "https://*.paypal.com/*",
  121. "https://paypal.com/*"
  122. ],
  123. "js": [
  124. "content/activation-utils.js",
  125. "content/utils.js",
  126. "content/checkout-paypal.js"
  127. ],
  128. "run_at": "document_idle"
  129. }
  130. ],
  131. "action": {
  132. "default_icon": {
  133. "16": "icons/icon16.png",
  134. "48": "icons/icon48.png",
  135. "128": "icons/icon128.png"
  136. }
  137. },
  138. "icons": {
  139. "16": "icons/icon16.png",
  140. "48": "icons/icon48.png",
  141. "128": "icons/icon128.png"
  142. }
  143. }