Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
HttpAnimation authored Jun 20, 2023
1 parent 48731a4 commit 687ec3a
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@
color: #fff;
}

.btn.download-all {
background-color: #ffa500;
color: #fff;
}

.btn.no-limits {
background-color: #8a2be2;
color: #fff;
}

.error {
color: #f00;
font-weight: bold;
Expand All @@ -90,6 +100,7 @@
<button class="btn download">Download found</button>
<button class="btn download-error">Download errors</button>
<button class="btn download-all">Download all</button>
<button class="btn no-limits">No Limits</button>
</div>
<div class="btn-group">
<button class="btn speed slow">Slow</button>
Expand Down Expand Up @@ -156,7 +167,7 @@
logMessage(`Found URL: <a href="${url}" target="_blank">${url}</a>`);
})
.catch(() => {
logMessage(`Error URL then put the URL here Not found: ${url}`, true);
logMessage(`Error URL Not found: ${url}`, true);
});
}, speed);

Expand Down Expand Up @@ -248,6 +259,13 @@
}
});

document.querySelector('.btn.no-limits').addEventListener('click', function() {
if (intervalId) {
clearInterval(intervalId);
}
intervalId = startChecking(0); // No limits, generate URLs as fast as possible
});

// Donation text click event listener
const donationText = document.getElementById('donation');
donationText.addEventListener('click', function() {
Expand Down

0 comments on commit 687ec3a

Please sign in to comment.