Remix.run Logo
vhcr 3 days ago

    const iframe = document.createElement("iframe");
    document.body.append(iframe);
    iframe.contentWindow...
joquarky 2 days ago | parent [-]

    javascript:(function () {
        const rm = () => document.querySelectorAll('iframe')
            .forEach(f => f.remove());
        let timeout;
        const debouncedRm = () => {
            clearTimeout(timeout);
            timeout = setTimeout(rm, 100);
        };
        rm();
        new MutationObserver(debouncedRm)
            .observe(document.body, {
                childList: true, subtree: true
            });
    })();