Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

change min ie version to 11, change unsupported page to reflect

Ed Plato6cafd8de4124
diff --git a/web/index.html b/web/index.html
index c5324ece7..b4704c086 100644
--- a/web/index.html
+++ b/web/index.html
@@ -16,7 +16,7 @@ Licensed under the NASA Open Source Agreement, Version 1.3 (http://opensource.gs
<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 < 9) {
+ if (version < 11) {
document.location.replace("pages/unsupported_browser.html" + location.search);
}
}
diff --git a/web/pages/unsupported_browser.html b/web/pages/unsupported_browser.html
index 4963938bb..441e20317 100644
--- a/web/pages/unsupported_browser.html
+++ b/web/pages/unsupported_browser.html
@@ -1,65 +1,62 @@
<!doctype html>
<html>
<head>
- <title>@OFFICIAL_NAME@</title>
- <style>
- body {
- background-color: black;
- }
+ <title>@OFFICIAL_NAME@</title>
+ <style>
+ body {
+ background-color: #000;
+ font-family: sans-serif;
+ }
- #unsupported {
- position: fixed;
- width: 500px;
- height: 300px;
- left: 50%;
- top: 50%;
- margin-left: -250px;
- margin-top: -150px;
- padding: 20px;
- background-color: #ffffee;
- border: 1px solid: #ffffff;
- }
+ #unsupported {
+ position: fixed;
+ width: 500px;
+ height: 300px;
+ left: 50%;
+ top: 50%;
+ margin-left: -250px;
+ margin-top: -150px;
+ padding: 20px;
+ background-color: #f3f3f3;
+ }
- h4 {
- text-align: center;
- }
+ h4 {
+ text-align: center;
+ }
- #continue {
- font-size: 14pt;
- text-align: center;
- }
+ #continue {
+ text-align: center;
+ }
- </style>
+ </style>
- <script>
- window.onload = function() {
- var link = document.getElementById("continue");
- if ( location.search.length == 0 ) {
- link.href = "../index.html?unsupported"
- } else {
- link.href = "../index.html" + location.search + "&unsupported";
- }
- };
- </script>
+ <script>
+ window.onload = function() {
+ var link = document.getElementById("continue");
+ if ( location.search.length == 0 ) {
+ link.href = "../index.html?unsupported"
+ } else {
+ link.href = "../index.html" + location.search + "&unsupported";
+ }
+ };
+ </script>
</head>
<body>
- <img src="../brand/images/wv-logo.png">
- <div id="unsupported">
- <h4>This version of Internet Explorer is currently not supported</h4>
- <p>
- Worldview uses a set of browser technologies that requires at least
- Internet Explorer 9. Please try
- loading this page in Mozilla Firefox, Google Chrome, Apple Safari, or
- a mobile device.
- </p>
- <p>
- Thanks for your patience.
- </p>
- <p>
- -The Worldview development team
- </p>
- <h4>
- <a id="continue">Continue anyway</a>
- </h4>
- </div>
+ <img src="../brand/images/wv-logo.png">
+ <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
+ version of Google Chrome, Mozilla Firefox, Apple Safari, or a mobile device.
+ Thanks for your patience.
+ </p>
+ <p>
+ -The Worldview development team
+ </p>
+ <br/>
+ <h4>
+ <a id="continue">Continue anyway</a>
+ </h4>
+ </div>
</body>