manifest.json 1.6 KB

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