aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-07-24 16:24:10 -0700
committerValerio Virgillito2012-07-24 16:24:10 -0700
commitf14f381e0a785d37ae08b919b85c1d12fc117e48 (patch)
tree55e328f74097a373bdd3a034442af1fa6d1828a5 /index.html
parent095a9f26fe193aea759387b42d5a25c94ef423a8 (diff)
parent52e3356f79e3c1ef7a86c1fabaaf1ebca200ad45 (diff)
downloadninja-f14f381e0a785d37ae08b919b85c1d12fc117e48.tar.gz
Merge branch 'UserDetection' of https://github.com/joseeight/ninja into v0.7.1
Diffstat (limited to 'index.html')
-rwxr-xr-xindex.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.html b/index.html
index 8c2de1f6..a6e1f809 100755
--- a/index.html
+++ b/index.html
@@ -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";