summaryrefslogtreecommitdiff
path: root/web/js/main.js
blob: 211e85256731bdd2f2ca3b89b3a8f8089155374e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 Atx(), new Hid(), new Msd());
		new Stream();
	}
}