diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-10-02 21:57:47 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-10-02 22:12:09 +0800 |
commit | ba39fbeb49c0691885a92e3df70b3df912144531 (patch) | |
tree | 0056fa1095a83607ac04d965230a346d017135a3 /app/scripts/background.js | |
parent | 5fc2c4250b7c8aad24f713e8c31d0fd1f80eeec5 (diff) | |
download | tangerine-wallet-browser-ba39fbeb49c0691885a92e3df70b3df912144531.tar tangerine-wallet-browser-ba39fbeb49c0691885a92e3df70b3df912144531.tar.gz tangerine-wallet-browser-ba39fbeb49c0691885a92e3df70b3df912144531.tar.bz2 tangerine-wallet-browser-ba39fbeb49c0691885a92e3df70b3df912144531.tar.lz tangerine-wallet-browser-ba39fbeb49c0691885a92e3df70b3df912144531.tar.xz tangerine-wallet-browser-ba39fbeb49c0691885a92e3df70b3df912144531.tar.zst tangerine-wallet-browser-ba39fbeb49c0691885a92e3df70b3df912144531.zip |
Don't open metamask.io after install anymore
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r-- | app/scripts/background.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index ae450352e..0343e134c 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -38,7 +38,6 @@ const { const firstTimeState = Object.assign({}, rawFirstTimeState, global.METAMASK_TEST_CONFIG) const STORAGE_KEY = 'metamask-config' -const METAMASK_DEBUG = process.env.METAMASK_DEBUG log.setDefaultLevel(process.env.METAMASK_DEBUG ? 'debug' : 'warn') @@ -462,11 +461,3 @@ function showWatchAssetUi () { } ) } - -// On first install, open a window to MetaMask website to how-it-works. -extension.runtime.onInstalled.addListener(function (details) { - if ((details.reason === 'install') && (!METAMASK_DEBUG)) { - extension.tabs.create({url: 'https://metamask.io/#how-it-works'}) - } -}) - |