gorman Posted November 19, 2016 Report Share Posted November 19, 2016 (edited) I have more than 10 call OA_show using SPC. It was not so easy changing from spc to async and back during tests, so I put litttle helper function fo it: so now I switching between methods in one place. comment spc call: <!--script type="text/javascript" src="http://DOMAIN/delivery/spcjs.php?id=1&block=1&charset=UTF-8"></script--> redefine QA_show: <script> function OA_show(zone_name){ document.write('<ins data-revive-zoneid="'+OA_zones[zone_name]+'" data-revive-id="UNIQUE_ID"></ins>'); } </script> add async script <script async src="//DOMAIN/delivery/asyncjs.php"></script> it was fine for me, may be it can help you too ) Edited November 19, 2016 by gorman some addon 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.