diff options
Diffstat (limited to 'web/js/bb.js')
-rw-r--r-- | web/js/bb.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/web/js/bb.js b/web/js/bb.js new file mode 100644 index 00000000..8d8590db --- /dev/null +++ b/web/js/bb.js @@ -0,0 +1,13 @@ +function check_browser() { + 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"; + return false; + } else { + return true; + } +} |