summaryrefslogtreecommitdiff
path: root/web/js/main.js
blob: e68b6ae9c3d1d55a81b7012978dffbf7c79886aa (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 Streamer(), new Atx(), new Hid(), new Msd());
	}
}