| 123456789101112131415161718192021 |
- (function attachBackgroundStep1(root, factory) {
- root.MultiPageBackgroundStep1 = factory();
- })(typeof self !== 'undefined' ? self : globalThis, function createBackgroundStep1Module() {
- function createStep1Executor(deps = {}) {
- const {
- addLog,
- completeStepFromBackground,
- ensureSignupEntryPageReady,
- } = deps;
- async function executeStep1() {
- await addLog('步骤 1:正在打开 ChatGPT 官网...');
- await ensureSignupEntryPageReady(1);
- await completeStepFromBackground(1, {});
- }
- return { executeStep1 };
- }
- return { createStep1Executor };
- });
|