(function () { const relocateWidget = () => { const iframe = document.querySelector( 'iframe[src*="agencyready.link/embed/vf/"]' ); const target = document.querySelector( '.wr-custom-single-freelancer' ); if (!iframe || !target) return; target.style.setProperty('position', 'relative', 'important'); if (iframe.parentElement !== target) { target.appendChild(iframe); } iframe.style.setProperty('position', 'absolute', 'important'); iframe.style.setProperty('top', 'auto', 'important'); iframe.style.setProperty('left', 'auto', 'important'); iframe.style.setProperty('right', '0px', 'important'); iframe.style.setProperty('bottom', '0px', 'important'); }; relocateWidget(); const observer = new MutationObserver(() => { relocateWidget(); }); observer.observe(document.body, { childList: true, subtree: true }); })();