Created
July 14, 2014 13:50
-
-
Save kontur/5a7ed7b76041597fb820 to your computer and use it in GitHub Desktop.
Detect windows phone browser with no font face support
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
/(Windows Phone)|(XBLWP)|(ZuneWP)/.test(navigator.userAgent)&&$("body").addClass("no-fontface"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment