Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter robertliu

    (@robertliu)

    My coding is a bit rusty but it seems Tradedoubler’s javascript is only there to generate a random image url, for purposes of cache prevention and ensuring the image is always the latest.

    <script type="text/javascript">
    var uri = 'https://impgb.tradedoubler.com/imp?type(img)g(xxx)a(xxx)' + new String (Math.random()).substring (2, 11);
    document.write('<a href="https://clkuk.tradedoubler.com/click?p=xxx&a=xxx&g=xxx" target="_BLANK"><img src="'+uri+'" border=0></a>');
    </script>

    As I’m only experimenting with ad placement at the moment, I will just disable cache prevention (use static image url) which tradedoubler does allow.

    rml – great plugin btw!

    Thread Starter robertliu

    (@robertliu)

    Hi rml, I’m using Tradedoubler. This particular ad does use Javascript.

    And you’re right, it’s the ad that’s interfering with infinite scroll, not Ad Injection – I just tested inserting the ad directly into an old blog post and I get the same problem when the infinite scroll loads that post. My apologies.

    Will try to investigate this myself but please let me know if you do have any ideas.

Viewing 2 replies - 1 through 2 (of 2 total)