itsme Posted August 20, 2018 Report Share 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 Link to comment Share on other sites More sharing options...
andrewatfornax Posted August 25, 2018 Report Share Posted August 25, 2018 No, I don't think that's an option at the moment, unfortunately. Quote Link to comment Share on other sites More sharing options...
itsme Posted August 25, 2018 Author Report Share 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 Link to comment Share on other sites More sharing options...
itsme Posted August 28, 2018 Author Report Share 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! andrewatfornax and Josh 2 Quote Link to comment Share on other sites More sharing options...
andrewatfornax Posted August 30, 2018 Report Share Posted August 30, 2018 Shows you what I know ? Quote Link to comment Share on other sites More sharing options...
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.