feat: 更新注册流程,替换确保注册入口页面就绪的逻辑为打开注册标签页,并调整文档描述以反映新逻辑
This commit is contained in:
+1
-1
@@ -5641,7 +5641,7 @@ const verificationFlowHelpers = self.MultiPageBackgroundVerificationFlow?.create
|
|||||||
const step1Executor = self.MultiPageBackgroundStep1?.createStep1Executor({
|
const step1Executor = self.MultiPageBackgroundStep1?.createStep1Executor({
|
||||||
addLog,
|
addLog,
|
||||||
completeStepFromBackground,
|
completeStepFromBackground,
|
||||||
ensureSignupEntryPageReady,
|
openSignupEntryTab,
|
||||||
});
|
});
|
||||||
const step2Executor = self.MultiPageBackgroundStep2?.createStep2Executor({
|
const step2Executor = self.MultiPageBackgroundStep2?.createStep2Executor({
|
||||||
addLog,
|
addLog,
|
||||||
|
|||||||
@@ -5,12 +5,12 @@
|
|||||||
const {
|
const {
|
||||||
addLog,
|
addLog,
|
||||||
completeStepFromBackground,
|
completeStepFromBackground,
|
||||||
ensureSignupEntryPageReady,
|
openSignupEntryTab,
|
||||||
} = deps;
|
} = deps;
|
||||||
|
|
||||||
async function executeStep1() {
|
async function executeStep1() {
|
||||||
await addLog('步骤 1:正在打开 ChatGPT 官网...');
|
await addLog('步骤 1:正在打开 ChatGPT 官网...');
|
||||||
await ensureSignupEntryPageReady(1);
|
await openSignupEntryTab(1);
|
||||||
await completeStepFromBackground(1, {});
|
await completeStepFromBackground(1, {});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-3
@@ -191,9 +191,10 @@
|
|||||||
|
|
||||||
流程:
|
流程:
|
||||||
|
|
||||||
1. 后台打开 ChatGPT 官网
|
1. 后台打开 ChatGPT 官网并复用/创建注册页标签
|
||||||
2. 等待注册入口页内容脚本就绪
|
2. 等待注册页内容脚本就绪(仅做连接与注入确认)
|
||||||
3. 标记 Step 1 完成
|
3. 不在 Step 1 检测或点击注册入口
|
||||||
|
4. 标记 Step 1 完成
|
||||||
|
|
||||||
补充:
|
补充:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user