t.body.querySelector(selector)
            if (element) {
                return resolve(element)
            }

            const observer = new MutationObserver(mutations => {
                const observedElement = document.body.querySelector(selector)
                if (observedElement) {
                    observer.disconnect()
                    resolve(observedElement)
                }
            })

            observer.observe(document.body, {
                subtree: true,
                chi