Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Code controlling whether you can open Google docs app from your mobile browser.
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
You can’t perform that action at this time.