" custom code, so the banner's DOM
// is already parsed by the time it runs — no need to wait for full page
// load (images, fonts, etc.), which was the source of the delay.
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', syncAnnouncementBanners);
} else {
syncAnnouncementBanners();
}
})();
Invisible's newsletter: join +45,000 decision-makers for curated intelligence