window.onload = function() { setTimeout(() => { document.getElementById('loader').style.display = 'none'; document.getElementById('content').style.display = 'block'; }, 1500); // Loader for 1.5s }; document.getElementById('searchForm').addEventListener('submit', function(e) { e.preventDefault(); let url = document.getElementById('urlInput').value.trim(); if (!url.startsWith('http')) { url = 'https://' + url; } if (document.getElementById('blankMode').checked) { const newWindow = window.open(); if (newWindow) { newWindow.document.write(`