manifest.json 1.7 KB

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