1 2 3 4 5 6 7 8 9 10
window.addEventListener('load', () => { window.METAMASK_SKIP_RELOAD = true // inject app container const body = document.body const container = document.createElement('div') container.id = 'app-content' body.appendChild(container) // start ui require('../src/ui.js') })