I want this popup tag can be loaded after 60 seconds of full page load with Lazy load or jquery. because settimeout and setinterval never worked.
<script type="text/javascript">
var adfly_id = 17670577;
var adfly_protocol = 'https';
var popunder_frequency_delay = 0;
</script>
<script src="https://cdn.ay.gy/js/display.js"></script>
thank you for your help
setTimeout
presumably isn't working becausedisplay.js
is a wad of self-invokingeval()
, so there isn't an obvious thing to wrap thesetTimeout
around.But as long as that external code doesn't depend on the window onload event, you should be able to
setTimeout
the insertion of the script itself: