-
-
Save ray4167/f0c06b3fc2e3c18c8f2db28139f4e8cb to your computer and use it in GitHub Desktop.
국민대학교 안전교육 이수 스크립트 (2019.09.23 동작확인)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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