generated from jric11/baseProject
7 lines
256 B
JavaScript
7 lines
256 B
JavaScript
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';
|
|
});
|