fchat-rising/chat/preview/assets/browser.pre.js

15 lines
429 B
JavaScript

(() => {
try {
console.log('RUNNING RUNNING RUNNING', Date.now());
document.querySelectorAll('iframe').forEach((e) => e.remove());
window.addEventListener('DOMContentLoaded', (event) => {
document.querySelectorAll('iframe').forEach((e) => e.remove());
console.log('DOM fully loaded and parsed', Date.now());
});
} catch(e) {
console.error(e);
}
})();