Help With The keyword for this code
-
Hi, firstly i would like to appreciate the developers of this plugin. They have really done a good job, I was able to lazy load adsense ads & in future i wish to donate something for you to developers just for appreciation.
Getting to why am here… I would like you to help me with the keyword for the code below.
<iframe data-id=”xxxxxxxxx.com_300x600_1_DFP” FRAMEBORDER=”0″ SCROLLING=”no” MARGINHEIGHT=”0″
MARGINWIDTH=”0″ TOPMARGIN=”0″ LEFTMARGIN=”0″ width=”1″ height=”1″></iframe>
<script>
(function () {
var size=’300×600|300×250′,
adunit = ‘xxxxxxxx.com_300x600_1_DFP’,
xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function(){if (xmlhttp.readyState == 4 && xmlhttp.status == 200){var es = document.querySelectorAll(“[data-id='”+adunit+”‘]”);var e = Array.from(es).filter(function(e) {return !e.hasAttribute(“data-rendered”)});if(e.length > 0){e.forEach(function(el){var iframe = el.contentWindow.document;iframe.open();iframe.write(xmlhttp.responseText);iframe.close();el.setAttribute(‘data-rendered’, true)})}}};xmlhttp.open(“GET”, ‘https://pubads.g.doubleclick.net/gampad/adx?iu=/147246189/’+adunit+’&sz=’+encodeURI(size)+’&t=Placement_type%3Dserving&’+Date.now(), true);xmlhttp.send();})();
</script>
The topic ‘Help With The keyword for this code’ is closed to new replies.