Skip to content

Instantly share code, notes, and snippets.

@videlais
Created Aug 21, 2014
Embed
What would you like to do?
Detecting Cordova using the FILE protocol
var isCordovaApp = (document.location.protocol === "file:");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment