aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-07-24 16:24:18 -0700
committerValerio Virgillito2012-07-24 16:24:18 -0700
commit3212da3856b710b453e272b6f62f4152ec6e97dd (patch)
tree3f031a6726de7242e4843911c246c76f6338f85d /index.html
parentcf92eba275d544170942351f14eebaf4cd1bfb05 (diff)
parent52e3356f79e3c1ef7a86c1fabaaf1ebca200ad45 (diff)
downloadninja-3212da3856b710b453e272b6f62f4152ec6e97dd.tar.gz
Merge branch 'UserDetection' of https://github.com/joseeight/ninja
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";