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

13 lines
382 B
JavaScript
Raw Normal View History

module.exports = setupMetamaskMeshMetrics
/**
* Injects an iframe into the curerent document for testing
*/
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)
}