Last active
July 8, 2019 13:53
-
-
Save kirubakaran/25127d470dbd02228d58f3d86164af3e to your computer and use it in GitHub Desktop.
check if browser extension is in dev mode
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 isDevMode() { | |
return !('update_url' in browser.runtime.getManifest()); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment