Created
September 17, 2020 00:26
-
-
Save nnnlog/bd2801fabc60042191c228f78a908123 to your computer and use it in GitHub Desktop.
클래스카드
This file contains 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
let wait = async(s) => { | |
return new Promise(r => setTimeout(() => r(), s * 1000)); | |
}; | |
(async () => { | |
while(parseInt(document.querySelector(".unknown_count").innerText)) { | |
await wait(5); | |
document.querySelectorAll(".card-quest-item.cc-table.middle.fill-parent-w.back-quest.answer")[parseInt(document.querySelector(".known_count").innerText)].click(); | |
}})(); |
This file contains 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
let wait = async() => { | |
return new Promise(r => setTimeout(() => r(), 4000)); | |
}; | |
while(parseInt(document.querySelector(".unknown_count").innerText)) { | |
document.querySelectorAll("input.form-control.input-lg.input-answer.m-center.w-90p")[(parseInt(document.querySelector(".known_count").innerText)) * 2 + 1].value = slider.find('.CardItem.current').find('.card-bottom .spell-answer .spell-content').text().trim(); | |
document.querySelector("a.btn.btn-xl.btn-primary.shadow.w-250.btn-confirm").click() | |
await wait(); | |
} |
This file contains 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
let wait = async(s) => { | |
return new Promise(r => setTimeout(() => r(), 1000 * s)); | |
}; | |
while(parseInt(document.querySelector(".unknown_count").innerText)) { | |
document.getElementById("wrapper-learn").click(); | |
await wait(1.5); | |
document.querySelector("a.btn.btn-xl.btn-success.shadow.w-250.btn-short-change-card").click(); | |
await wait(2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
최고입니다