manifest.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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/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/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. "https://*.mail.163.com/*"
  47. ],
  48. "js": ["content/utils.js", "content/mail-163.js"],
  49. "all_frames": true,
  50. "run_at": "document_idle"
  51. },
  52. {
  53. "matches": [
  54. "https://duckduckgo.com/email/settings/autofill*"
  55. ],
  56. "js": ["content/utils.js", "content/duck-mail.js"],
  57. "run_at": "document_idle"
  58. }
  59. ],
  60. "action": {
  61. "default_icon": {
  62. "16": "icons/icon16.png",
  63. "48": "icons/icon48.png",
  64. "128": "icons/icon128.png"
  65. }
  66. },
  67. "icons": {
  68. "16": "icons/icon16.png",
  69. "48": "icons/icon48.png",
  70. "128": "icons/icon128.png"
  71. }
  72. }