diff options
-rwxr-xr-x | index.html | 4 | ||||
-rw-r--r-- | os.html | 48 |
2 files changed, 52 insertions, 0 deletions
@@ -166,6 +166,10 @@ POSSIBILITY OF SUCH DAMAGE. | |||
166 | 166 | ||
167 | <script type="text/javascript"> | 167 | <script type="text/javascript"> |
168 | window.onload = function() { | 168 | window.onload = function() { |
169 | //Check for OS support | ||
170 | if (navigator.appVersion.toLowerCase().indexOf("win") === -1 && navigator.appVersion.toLowerCase().indexOf("mac") === -1) { | ||
171 | window.location = "./os.html"; | ||
172 | } | ||
169 | // Check if we are running in Chrome | 173 | // Check if we are running in Chrome |
170 | if(navigator.userAgent.toLowerCase().indexOf("chrome") === -1) { | 174 | if(navigator.userAgent.toLowerCase().indexOf("chrome") === -1) { |
171 | window.location = "./redirect.html"; | 175 | window.location = "./redirect.html"; |
diff --git a/os.html b/os.html new file mode 100644 index 00000000..703c2b0d --- /dev/null +++ b/os.html | |||
@@ -0,0 +1,48 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- <copyright> | ||
3 | Copyright (c) 2012, Motorola Mobility LLC. | ||
4 | All Rights Reserved. | ||
5 | |||
6 | Redistribution and use in source and binary forms, with or without | ||
7 | modification, are permitted provided that the following conditions are met: | ||
8 | |||
9 | * Redistributions of source code must retain the above copyright notice, | ||
10 | this list of conditions and the following disclaimer. | ||
11 | |||
12 | * Redistributions in binary form must reproduce the above copyright notice, | ||
13 | this list of conditions and the following disclaimer in the documentation | ||
14 | and/or other materials provided with the distribution. | ||
15 | |||
16 | * Neither the name of Motorola Mobility LLC nor the names of its | ||
17 | contributors may be used to endorse or promote products derived from this | ||
18 | software without specific prior written permission. | ||
19 | |||
20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
23 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE | ||
24 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
25 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
26 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
27 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
28 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
29 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
30 | POSSIBILITY OF SUCH DAMAGE. | ||
31 | </copyright> --> | ||
32 | <html> | ||
33 | |||
34 | <head> | ||
35 | |||
36 | <title>Ninja - OS Support</title> | ||
37 | |||
38 | </head> | ||
39 | |||
40 | <body> | ||
41 | |||
42 | <div> | ||
43 | <p>Your operating system is currently not supported by Ninja. Please visit <a href="http://tetsubo.org/home/ninja/system-requirements/">Tetsubo</a> for more information on system requirements and more information.</p> | ||
44 | </div> | ||
45 | |||
46 | </body> | ||
47 | |||
48 | </html> | ||