mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 07:16:36 +01:00
Redirect to video in a new tab on fresh install.
This commit is contained in:
parent
f213ca695c
commit
9cb600e17a
@ -35,6 +35,12 @@ function showUnconfirmedTx (txParams, txData, onTxDoneCb) {
|
|||||||
notification.show()
|
notification.show()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// On first install, open a window to MetaMask website to how-it-works.
|
||||||
|
|
||||||
|
chrome.runtime.onInstalled.addListener(function (object) {
|
||||||
|
chrome.tabs.create({url: 'https://metamask.io/#how-it-works'})
|
||||||
|
})
|
||||||
|
|
||||||
//
|
//
|
||||||
// connect to other contexts
|
// connect to other contexts
|
||||||
//
|
//
|
||||||
@ -160,4 +166,3 @@ function getOldStyleData () {
|
|||||||
function setData (data) {
|
function setData (data) {
|
||||||
window.localStorage[STORAGE_KEY] = JSON.stringify(data)
|
window.localStorage[STORAGE_KEY] = JSON.stringify(data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user