Created
September 2, 2014 21:06
-
-
Save simi/35c6ced86758ca850585 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
// Android performance | |
var ua = navigator.userAgent.toLowerCase(); | |
var isAndroid = ua.indexOf("android") > -1; //&& ua.indexOf("mobile"); | |
if(isAndroid) { | |
document.write('<style>* { text-shadow: none !important; box-shadow: none !important; -moz-box-shadow: none !important; -webkit-box-shadow: none !important; }</style>'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment