Created
September 1, 2011 22:20
-
-
Save alunny/1187444 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// forgive me father | |
if (navigator.userAgent.match("Android")) { | |
document.write('<script src="childbrowser-android.js"><\/script>') | |
} else { | |
document.write('<script src="childbrowser-iphone.js"><\/script>') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment