This site is developed to XHTML and CSS2 W3C standards.
If you see this paragraph, your browser does not support those standards and you
need to upgrade. Visit WaSP
for a variety of options.
Paste #655
Posted by: BitByByte
Posted on: 2026-03-09 12:54:47
Age: 12 hrs ago
Views: 39
// ==UserScript==
// @name letitbit.old-web.com - пропуск таймера.
// @namespace https://github.com/you
// @version 0.1
// @description Пропускает таймер на letitbit.old-web.com.
// @author You
// @match https://letitbit.old-web.com/download.php*
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
function showDownloadLink() {
let downloadDiv = document.getElementById('download-link');
if (downloadDiv) {
downloadDiv.style.display = 'block';
return true;
}
return false;
}
function hideTimer() {
let waitContainer = document.getElementById('wait-container');
if (waitContainer) {
waitContainer.style.display = 'none';
}
}
function tryShowLink() {
if (showDownloadLink()) {
hideTimer();
observer.disconnect();
clearInterval(intervalId);
}
}
const intervalId = setInterval(tryShowLink, 150);
const observer = new MutationObserver((mutations) => {
tryShowLink();
});
observer.observe(document.documentElement || document.body, {
childList: true,
subtree: true
});
document.addEventListener('DOMContentLoaded', tryShowLink);
setTimeout(() => {
tryShowLink();
if (!document.getElementById('download-link')) {
clearInterval(intervalId);
observer.disconnect();
}
}, 5000);
})();
Download raw |
Create new paste