fix(ie11): redirect to recommended browsers page (#3853)

pull/3866/head jitsi-meet_3530
virtuacoplenny 6 years ago committed by GitHub
parent c34fee4305
commit 2b56822a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      index.html

@ -8,6 +8,12 @@
<link rel="stylesheet" href="css/all.css"> <link rel="stylesheet" href="css/all.css">
<script> <script>
// IE11 and earlier can be identified via their user agent and be
// redirected to a page that is known to have no newer js syntax.
if (window.navigator.userAgent.match(/(MSIE|Trident)/)) {
window.location.href = "static/recommendedBrowsers.html";
}
window.indexLoadedTime = window.performance.now(); window.indexLoadedTime = window.performance.now();
console.log("(TIME) index.html loaded:\t", indexLoadedTime); console.log("(TIME) index.html loaded:\t", indexLoadedTime);
// XXX the code below listeners for errors and displays an error message // XXX the code below listeners for errors and displays an error message

Loading…
Cancel
Save