MCPcopy
hub / github.com/ocsjs/ocsjs / oncomplete

Function oncomplete

packages/scripts/src/projects/cx.ts:174–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172 }
173 },
174 oncomplete() {
175 if (['mycourse/studentstudy'].some((path) => location.href.includes(path))) {
176 $message.success('已进入学习页面,请等待自动运行...');
177 return;
178 }
179 $message.info('请手动进入视频、作业、考试页面,脚本会自动运行。');
180 }
181 }),
182 study: new Script({
183 name: '🖥️ 课程学习',

Callers

nothing calls this directly

Calls 6

commonWorkFunction · 0.90
startAtFirstFunction · 0.85
waitForFaceRecognitionFunction · 0.85
mappingRecognizeFunction · 0.85
toStringMethod · 0.80
workOrExamFunction · 0.70

Tested by

no test coverage detected