Skip to content

Instantly share code, notes, and snippets.

@ray4167
Forked from kde713/safepass.js
Last active September 23, 2019 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ray4167/f0c06b3fc2e3c18c8f2db28139f4e8cb to your computer and use it in GitHub Desktop.
Save ray4167/f0c06b3fc2e3c18c8f2db28139f4e8cb to your computer and use it in GitHub Desktop.
국민대학교 안전교육 이수 스크립트 (2019.09.23 동작확인)
var currentPage = nowPageNum;
function goNextPage() {
if (currentPage <= totalPageNum) {
PageMove2019AfterVersion(currentPage);
console.log(`${currentPage} 페이지를 수강완료했습니다.`);
currentPage += 1;
setTimeout(function() {
goNextPage();
}, 1000);
} else {
alert('강의 수강이 완료되었습니다!');
}
}
function runKmuMacro() {
console.log(`현재 ${currentPage} 페이지를 수강중입니다.`);
setTimeout(function () {
goNextPage();
}, 1000)
}
runKmuMacro();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment