Jump to content

banner code problems with iframe and asynchronous js


saschadd

Recommended Posts

Hi,

i have revive running for some time now and it works great so far with iframe banner codes.

Unfortunately since a few weeks it gives me the following errors on the w3c checker for the iframe code produced by revive

The frameborder attribute on the iframe element is obsolete.

The scrolling attribute on the iframe element is obsolete.#

The allowtransparency attribute on the iframe element is obsolete.

Text not allowed in element iframe in this context.

 

Before i tried to fix these errors i tried to just use the asynchronous tag but unfortunately this is not working.

My server is running with htaccess setting

<ifModule mod_headers.c>

    Header set X-Content-Type-Options: nosniff

</ifModule>

for more security and the script /www/delivery/asyncjs.php gets blocked because of a MIME-Type-conflict ("text/html") and gets blocked (X-Content-Type-Options: nosniff)

At the moment i dont know how to fix this problem without deactivating the nosniff option.

Maybe somebody knows a way wo fix this by looking in the asyncjs.php script?

Edited by saschadd
fixed typos
Link to comment
Share on other sites

<?php echo rand();?>Forgot to post example codes for checking, maybe i have a typo i dont see

Asynchronous Tag

<!-- Revive Adserver Asynchronous JS Tag - Generated with Revive Adserver v5.0.5 -->
<ins data-revive-zoneid="5" data-revive-id="72292fd559d86f65a6853bcc36c02081"></ins>
<script async src="//www.mydomain.de/_extra/ads/revive/www/delivery/asyncjs.php"></script>

Iframe Tag

<!-- Revive Adserver iFrame Tag - Generated with Revive Adserver v5.0.5 -->
<iframe id='aa2fe789' name='aa2fe789' src='https://www.mydomain.de/_extra/ads/revive/www/delivery/afr.php?resize=1&amp;zoneid=5&amp;source=https%3A%2F%2Fwww.mydomain.de&amp;cb=<?php echo rand();?>' frameborder='0' scrolling='no' width='161' height='147' allowtransparency='true' allow='autoplay'><a href='https://www.mydomain.de/_extra/ads/revive/www/delivery/ck.php?n=a79d75df&amp;cb=<?php echo rand();?>' target='_blank'><img src='https://www.mydomain.de/_extra/ads/revive/www/delivery/avw.php?zoneid=5&amp;source=https%3A%2F%2Fwww.mydomain.de&amp;cb=<?php echo rand();?>&amp;n=a79d75df' border='0' alt='' /></a></iframe>

Link to comment
Share on other sites

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...