Interactive interface for browsing global, full-resolution satellite imagery
update to check for ie11 and prev ie versions, update unsupported page
Ed Plato16dbe0f0617e
diff --git a/web/index.html b/web/index.htmlindex 3aed62e17..af1e97722 100644--- a/web/index.html+++ b/web/index.html@@ -15,11 +15,9 @@ Licensed under the NASA Open Source Agreement, Version 1.3 (https://opensource.g<meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">- if (/MSIE (\d+\.\d+);/.test(navigator.userAgent) && ! /unsupported/.test(location.search)) {- var version = parseFloat(navigator.appVersion.split("MSIE")[1]);- if (version < 11) {- document.location.replace("pages/unsupported_browser.html" + location.search);- }+ // detect IE <= version 11+ if (navigator.userAgent.match(/MSIE|Trident/) !== null) {+ document.location.replace("pages/unsupported_browser.html" + location.search);}</script>diff --git a/web/pages/unsupported_browser.html b/web/pages/unsupported_browser.htmlindex 441e20317..343a881d1 100644--- a/web/pages/unsupported_browser.html+++ b/web/pages/unsupported_browser.html@@ -24,10 +24,6 @@text-align: center;}- #continue {- text-align: center;- }-</style><script>@@ -46,8 +42,8 @@<div id="unsupported"><h4>Your browser is not supported.</h4><p>- Worldview uses a set of browser technologies that requires at least- Internet Explorer 11. For the best experience, please try using the latest+ Worldview uses modern web technologies that require supported browsers.+ For the best experience, please try using the latestversion of Google Chrome, Mozilla Firefox, Apple Safari, or a mobile device.Thanks for your patience.</p>@@ -55,8 +51,5 @@-The Worldview development team</p><br/>- <h4>- <a id="continue">Continue anyway</a>- </h4></div></body>