manifest.json 2.4 KB

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