diff --git a/background.js b/background.js index 90c00ab..cd53f5c 100644 --- a/background.js +++ b/background.js @@ -5641,7 +5641,7 @@ const verificationFlowHelpers = self.MultiPageBackgroundVerificationFlow?.create const step1Executor = self.MultiPageBackgroundStep1?.createStep1Executor({ addLog, completeStepFromBackground, - ensureSignupEntryPageReady, + openSignupEntryTab, }); const step2Executor = self.MultiPageBackgroundStep2?.createStep2Executor({ addLog, diff --git a/background/steps/open-chatgpt.js b/background/steps/open-chatgpt.js index 13042e3..2476a9d 100644 --- a/background/steps/open-chatgpt.js +++ b/background/steps/open-chatgpt.js @@ -5,12 +5,12 @@ const { addLog, completeStepFromBackground, - ensureSignupEntryPageReady, + openSignupEntryTab, } = deps; async function executeStep1() { await addLog('步骤 1:正在打开 ChatGPT 官网...'); - await ensureSignupEntryPageReady(1); + await openSignupEntryTab(1); await completeStepFromBackground(1, {}); } diff --git a/项目完整链路说明.md b/项目完整链路说明.md index 262d61f..8f5f03a 100644 --- a/项目完整链路说明.md +++ b/项目完整链路说明.md @@ -191,9 +191,10 @@ 流程: -1. 后台打开 ChatGPT 官网 -2. 等待注册入口页内容脚本就绪 -3. 标记 Step 1 完成 +1. 后台打开 ChatGPT 官网并复用/创建注册页标签 +2. 等待注册页内容脚本就绪(仅做连接与注入确认) +3. 不在 Step 1 检测或点击注册入口 +4. 标记 Step 1 完成 补充: