function generateAdCode(adWidth adHeight adZone) {
var adElement = document.createElement('ins');
adElement.id = adZone;
adElement.setAttribute('data-width' adWidth);
adElement.setAttribute('data-height' adHeight);
document.body.appendChild(adElement);
var scriptElement = document.createElement('script');
scriptElement.type = 'text/javascript';
scriptElement.setAttribute('data-cfasync' 'false');
scriptElement.async = true;
scriptElement.innerHTML = '(adsbyjuicy = window.adsbyjuicy || []).push({\'adzone\': "' + adZone + '"});';
document.body.appendChild(scriptElement);
}
generateAdCode(468 72 532108);
2512 天前 Upload,
336283 Views
2512 天前 Upload,
336283 Views