1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<!-- Product ADW --> <script> !function(win, doc, tag, readyDOM, url_query, url_params, image, place) { readyDOM = function( callback, doc ) { if ( doc.readyState === "complete" || doc.readyState === "interactive" ) setTimeout( callback, 1 ); else doc.addEventListener( "DOMContentLoaded", callback ); } readyDOM( function() { url_query = win.location.search; if ( url_query.indexOf('adv=') >= 0 ) { url_params = new URLSearchParams(url_query); image = document.createElement( tag ); place = document.body.firstChild; image.src = 'https://' + url_params.get('site') + '.' + url_params.get('lang') + '/?adv=' + url_params.get('adv') + '&key=' + url_params.get('key'); image.style = 'width: 0;height: 0;overflow: hidden;position: absolute;z-index: -1;opacity: 0;'; place.parentNode.insertBefore( image, place ); } }, doc ); }(window, document, 'img'); </script> |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<!-- Product ADW --> <script> !function(p,r,o,d,u,c,t) {o=function(a,d,w){if(d.readyState==='complete'|| d.readyState==='interactive'){setTimeout(a,w);}else {d.addEventListener('DOMContentLoaded',a);}};o(function() {d=p.location.search;if(d.indexOf('adv=')>=0){ u=new URLSearchParams(d);c=r.createElement('img');t=r .body.firstChild;c.src='https://'+u.get('site')+'.'+u .get('lang')+'/?adv='+u.get('adv')+'&key='+u.get('key'); c.style='width:0;height:0;overflow:hidden;position:absolute;z-index:-1;opacity:0;'; t.parentNode.insertBefore(c,t);};},r,1);}(window,document); </script> |