c6f1070ace
- VPS URL: now an input field in Side Panel, no longer hardcoded - Dynamic script injection via chrome.scripting.executeScript - host_permissions changed to <all_urls> for flexibility - 163 Mail: new content script (mail-163.js) with actual selectors - Mail items: div[sign="letter"], sender: .nui-user, subject: span.da0 - Supports aria-label fallback for matching - Mail provider selector: dropdown to switch between QQ Mail and 163 Mail - Background routes steps 4/7 to correct mail content script - Settings persist in chrome.storage.session
69 lines
1.5 KiB
JSON
69 lines
1.5 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Multi-Page Automation",
|
|
"version": "1.1.0",
|
|
"description": "Automates multi-step OAuth registration workflow",
|
|
"permissions": [
|
|
"sidePanel",
|
|
"tabs",
|
|
"webNavigation",
|
|
"storage",
|
|
"scripting",
|
|
"activeTab"
|
|
],
|
|
"host_permissions": [
|
|
"<all_urls>"
|
|
],
|
|
"background": {
|
|
"service_worker": "background.js"
|
|
},
|
|
"side_panel": {
|
|
"default_path": "sidepanel/sidepanel.html"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"https://auth0.openai.com/*",
|
|
"https://auth.openai.com/*",
|
|
"https://accounts.openai.com/*"
|
|
],
|
|
"js": ["content/utils.js", "content/signup-page.js"],
|
|
"run_at": "document_idle"
|
|
},
|
|
{
|
|
"matches": [
|
|
"https://mail.qq.com/*",
|
|
"https://wx.mail.qq.com/*"
|
|
],
|
|
"js": ["content/utils.js", "content/qq-mail.js"],
|
|
"all_frames": true,
|
|
"run_at": "document_idle"
|
|
},
|
|
{
|
|
"matches": [
|
|
"https://mail.163.com/*"
|
|
],
|
|
"js": ["content/utils.js", "content/mail-163.js"],
|
|
"all_frames": true,
|
|
"run_at": "document_idle"
|
|
},
|
|
{
|
|
"matches": ["https://chatgpt.com/*"],
|
|
"js": ["content/utils.js", "content/chatgpt.js"],
|
|
"run_at": "document_idle"
|
|
}
|
|
],
|
|
"action": {
|
|
"default_icon": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
}
|
|
},
|
|
"icons": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
}
|
|
}
|