diff options
Diffstat (limited to 'web/js/main.js')
-rw-r--r-- | web/js/main.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/web/js/main.js b/web/js/main.js new file mode 100644 index 00000000..211e8525 --- /dev/null +++ b/web/js/main.js @@ -0,0 +1,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(); + } +} |