Last active
August 29, 2015 14:14
-
-
Save nicastelo/4d109a60d66ab1b01eeb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://cdnjs.cloudflare.com/ajax/libs/mobile-detect/0.4.3/mobile-detect.min.js"></script> | |
<script> | |
var md = new MobileDetect(window.navigator.userAgent); | |
if (md.mobile()) { | |
setTimeout(function(){ location.href = "http://m.tusitio.com"; }, 5000); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment