0%
`; // Reinitialize the ad (adsbygoogle = window.adsbygoogle || []).push({}); } // Create a MutationObserver to monitor changes in the ad element const observer = new MutationObserver(() => { adjustAdContainer(); }); // Start observing changes in the ad element and its subtree const adElement = document.querySelector('ins.adsbygoogle'); observer.observe(adElement, { attributes: true, childList: true, subtree: true }); // Trigger the adjustment on page load window.onload = adjustAdContainer;