itsme Posted August 20, 2018 Report Posted August 20, 2018 Hello, right now, we use JavaScript to deliver our ads, but Pagespeed does not like the Revive-JS-scripts, because they are slowing down the website. So we'd love to switch to async delivery. But async always wraps an iframe around the ad and we mostly have HTML-Ads with different sizes and our ads make use of the general CSS of the website. All this brings problems, when the ad is placed inside an iframe (fixed size, no access to CSS outside frame.) Is there a way to deliver the ad-code with async directly into the page without an iframe wraped around? Greetings Quote
andrewatfornax Posted August 25, 2018 Report Posted August 25, 2018 No, I don't think that's an option at the moment, unfortunately. Quote
itsme Posted August 25, 2018 Author Report Posted August 25, 2018 But on the other hand: The code must be delivered from somewhere. So as a hack you could just eliminate the iframe from that code. Does anybody know, which file I have to edit? Quote
itsme Posted August 28, 2018 Author Report Posted August 28, 2018 I found the solution - and the option ? Just disable the option "This banner can be safely displayed inside an iframe (e.g. is not expandable)" at the banner-settings. If this is disabled, the js-code is delivered without an iframe wrapped around. It's that easy! Josh and andrewatfornax 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.