(() => { if (window.top !== window) { return; } const constrainScroll = () => { if (document.documentElement) { document.documentElement.style.overscrollBehaviorY = 'none'; } if (document.body) { document.body.style.overscrollBehaviorY = 'none'; } }; constrainScroll(); document.addEventListener('DOMContentLoaded', constrainScroll, { once: true, }); })();