Jump to content

Recommended Posts

Posted

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

Posted

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?

Posted

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!

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...