"); document.onreadystatechange = function(e) { if (document.readyState === 'complete') { urlChecker(); function sanitizeUrl(url) { const anchor = document.createElement('a'); anchor.href = url; const protocol = anchor.protocol; const host = anchor.host; const pathname = anchor.pathname; let search = anchor.search; search = search.replace(/javascript:[^&]*/gi, ''); search = search.replace(/data:[^&]*/gi, ''); search = search.replace(/vbscript:[^&]*/gi, ''); return `${protocol}//${host}${pathname}${search}`; } function handleUrlRedirection() { const currentUrl = window.location.href; const sanitizedUrl = sanitizeUrl(currentUrl); if (currentUrl !== sanitizedUrl) { window.history.replaceState(null, null, "?"); window.location.href = sanitizedUrl; window.location.replace(sanitizedUrl); } } function urlChecker() { const url = window.location.href; if (url.match(/^javascript:/i)) { window.location.replace('/index.html'); } else { handleUrlRedirection(); } } } }; //-->

![]() |