Hi there, I have a Wordpress self hosted site http://www.watchhuge.com which uses a content gateway on the single post page. My problem is, I want to delay the gateway from opening by a predefined time so as the visitor is able to view the content on this page for that predefined time before the gateway lock activates. Can this be done by a js script with the gateway JavaScript embedded in the code? Here is the original gateway code: <!-- Interstitial :: Start --> <script type="text/javascript" src="http://interstitial.powered-by.securewebsiteaccess.com/fd2fed27b5ce840faea85789afd984ba38de"></script> <!-- Interstitial :: End --> I am prepared to pay someone to accomplish this! Cheers Netnuta
Hi, many thank's for your reply and suggestion! I put your script on the single post page, the delay works but the gateway will not load. Cheers
It depends on what securewebsiteaccess.com's script checks. Maybe you could have another trial to put the block where it used to be, e.g. middle of the page? To do this, change document.getElementsByTagName("head")[0].appendChild(rf); to sometag.appendChild(rf); or use insertBefore