nifty-wallet/app/scripts/lib/setupMetamaskMeshMetrics.js

13 lines
382 B
JavaScript
Raw Normal View History

module.exports = setupMetamaskMeshMetrics
/**
2018-04-19 12:12:04 -07:00
* Injects an iframe into the current document for testing
*/
2018-07-02 15:49:33 -07:00
function setupMetamaskMeshMetrics () {
const testingContainer = document.createElement('iframe')
testingContainer.src = 'https://metamask.github.io/mesh-testing/'
console.log('Injecting MetaMask Mesh testing client')
document.head.appendChild(testingContainer)
}