Created
August 10, 2015 19:37
-
-
Save miketaylr/3835cb5ba53315fcb502 to your computer and use it in GitHub Desktop.
Code controlling whether you can open Google docs app from your mobile browser.
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
function F(a) { | |
return -1 != E.indexOf(a) | |
} | |
function Pa() { | |
return F("Opera") || F("OPR") | |
} | |
function Qa() { | |
return (F("Chrome") || F("CriOS")) && !Pa() && !F("Edge") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment