Files

7 lines
256 B
JavaScript
Raw Permalink Normal View History

if (/msie\s|trident/i.test(window.navigator.userAgent)) {
window.location.href = 'html/unsupported.html';
}
document.addEventListener('click', function (event) {
if (event.target.closest('[data-app-return]')) window.location.href = 'main.php';
});