You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix banner ads: isolate each slot in a sandboxed iframe
Only the top banner and social bar were rendering. Root cause: the
Adsterra banner tag shares a single global window.atOptions object, and
the first async invoke.js execution consumes and deletes it, so the other
slots injected with the same code render nothing.
Every slot now renders inside its own sandboxed iframe (opaque origin,
same mechanism the native banner already used successfully), giving each
ad an isolated window/atOptions scope. Also made the auto-height probe
poll for ~6s so asynchronously loading banner creatives get an accurate
frame height.
0 commit comments