Created
April 26, 2013 17:16
-
-
Save da2x/5468809 to your computer and use it in GitHub Desktop.
I believe this is my most horrible user-agent sniffing done to date. It is exclusively used to deliver msapplication meta data.
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
if ( strstr( $ua, 'IE' ) ) { … } | |
// all IE variants (desktop, metro, Xbox, phone), the Irish, and a few other acceptable false positives |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment