feat: add Auto Run mode for full automated flow

- Background: add step completion waiting (promise-based), autoRun/resumeAutoRun
  chains steps 1→2 (pause for email) → 3→4→5→6→7→8→9 automatically
- Side Panel: add "Auto Run" button and "Continue Auto" bar for email pause point
- signup-page.js: add step 8 handler to click "继续" on OAuth consent page
- Fix all steps to reportComplete before form submit (prevents connection loss on navigation)
- qq-mail.js: fallback after 3 attempts to first matching email
- vps-panel.js: step 9 waits for "认证成功!" status badge
This commit is contained in:
unknown
2026-04-05 09:42:17 +08:00
parent 887709e824
commit 1c1e589bdc
7 changed files with 743 additions and 431 deletions
+8 -1
View File
@@ -9,7 +9,10 @@
<body>
<header>
<h1>Multi-Page Automation</h1>
<button id="btn-reset" title="Reset all steps">Reset</button>
<div class="header-btns">
<button id="btn-auto-run" class="btn-auto" title="Run all steps automatically">Auto Run</button>
<button id="btn-reset" title="Reset all steps">Reset</button>
</div>
</header>
<section id="data-section">
@@ -29,6 +32,10 @@
<label>Status:</label>
<span id="display-status" class="data-value">Waiting</span>
</div>
<div id="auto-continue-bar" class="auto-continue-bar" style="display:none;">
<span class="auto-hint">Paste DuckDuckGo email above, then:</span>
<button id="btn-auto-continue" class="btn-continue">Continue Auto</button>
</div>
</section>
<section id="steps-section">