summaryrefslogtreecommitdiff
path: root/web/js/main.js
blob: d82939c9c601414d6d1ce0f3ec7d6c4064454564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var ui;

function main() {
	if (
		!window.navigator
		|| window.navigator.userAgent.indexOf("MSIE ") > 0
		|| window.navigator.userAgent.indexOf("Trident/") > 0
		|| window.navigator.userAgent.indexOf("Edge/") > 0
	) {
		$("bad-browser-modal").style.visibility = "visible";
	} else {
		ui = new Ui();
		new Session(new Hid(), new Atx(), new Msd(), new Streamer());
	}
}