manifest.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "manifest_version": 3,
  3. "name": "多页面自动化",
  4. "version": "5.0.0",
  5. "description": "用于自动执行多步骤 OAuth 注册流程",
  6. "permissions": [
  7. "sidePanel",
  8. "alarms",
  9. "tabs",
  10. "webNavigation",
  11. "debugger",
  12. "storage",
  13. "scripting",
  14. "activeTab"
  15. ],
  16. "host_permissions": [
  17. "<all_urls>"
  18. ],
  19. "background": {
  20. "service_worker": "background.js"
  21. },
  22. "side_panel": {
  23. "default_path": "sidepanel/sidepanel.html"
  24. },
  25. "content_scripts": [
  26. {
  27. "matches": [
  28. "https://auth0.openai.com/*",
  29. "https://auth.openai.com/*",
  30. "https://accounts.openai.com/*"
  31. ],
  32. "js": ["content/activation-utils.js", "content/utils.js", "content/signup-page.js"],
  33. "run_at": "document_idle"
  34. },
  35. {
  36. "matches": [
  37. "https://mail.qq.com/*",
  38. "https://wx.mail.qq.com/*"
  39. ],
  40. "js": ["content/activation-utils.js", "content/utils.js", "content/qq-mail.js"],
  41. "all_frames": true,
  42. "run_at": "document_idle"
  43. },
  44. {
  45. "matches": [
  46. "https://mail.163.com/*",
  47. "https://*.mail.163.com/*",
  48. "https://webmail.vip.163.com/*"
  49. ],
  50. "js": ["content/activation-utils.js", "content/utils.js", "content/mail-163.js"],
  51. "all_frames": true,
  52. "run_at": "document_idle"
  53. },
  54. {
  55. "matches": [
  56. "https://duckduckgo.com/email/settings/autofill*"
  57. ],
  58. "js": ["content/activation-utils.js", "content/utils.js", "content/duck-mail.js"],
  59. "run_at": "document_idle"
  60. }
  61. ],
  62. "action": {
  63. "default_icon": {
  64. "16": "icons/icon16.png",
  65. "48": "icons/icon48.png",
  66. "128": "icons/icon128.png"
  67. }
  68. },
  69. "icons": {
  70. "16": "icons/icon16.png",
  71. "48": "icons/icon48.png",
  72. "128": "icons/icon128.png"
  73. }
  74. }