This commit is contained in:
lunaticbum 2025-12-29 18:11:39 +09:00
parent 773796d36a
commit 578f3f96ad

View File

@ -458,9 +458,14 @@ function gotoNext() {
// 1. 다음 페이지 링크를 찾았을 경우
if (attempts > 3 && targetElement) {
console.log(`[${attempts}초] ✅ 다음 페이지 링크를 찾았습니다. 클릭합니다.`);
toast(`[${attempts}초] ✅ 다음 페이지 링크를 찾았습니다. 클릭합니다.`)
toast(`[${attempts}초] ✅ 다음 페이지 링크를 찾았습니다.`)
clearInterval(findAndClickInterval); // 반복을 중단
targetElement.click(); // 링크 클릭
if (confirm("다음 페이지로 이동 하실?!")) {
targetElement.click(); // 링크 클릭
} else {
}
}
// 2. 시간(15초)이 초과되었을 경우
else if (attempts >= maxAttempts) {