Visa ett inlägg
Oläst 2005-02-22, 13:21 #11
Thomass avatar
Thomas Thomas är inte uppkopplad
Administratör
 
Reg.datum: May 2003
Inlägg: 3 901
Thomas Thomas är inte uppkopplad
Administratör
Thomass avatar
 
Reg.datum: May 2003
Inlägg: 3 901
Nånting i denna kedjan är det som lyckas skapa ett /1 popupfönster genom blockers, varför man nu tycker det är nåt bra.

Verkar som advertising.com jobbar med att poppa igenom blockers i stället för att hitta på nya medier.

Väldigt grötigt men det verkar vi närmare granskande att dom försöker skapa en tabell som ser ut som en popup.

Knepigt av Advertising.com (AOL.com) att gå den vägen tycker jag.

Thomas

På min site:
Kod:
<script type="text/javascript">
<!--
var number=Math.floor(Math.random()*2)
if(number=="0"){document.write('<SCR'+'IPT LANGUAGE="JavaScript"');document.write(' SRC="http://www.tv.nu/javascript/vip_popback.script"></SCR'+'IPT>');}
if(number=="1"){document.write('<SCR'+'IPT LANGUAGE="JavaScript"');document.write(' SRC="http://www.tv.nu/javascript/[B]adv_com_popback.script[/B]"></SCR'+'IPT>');}
//-->
</script>
På min site adv_com_popback.script:
Kod:
<!-- 
function setCookie(NameOfCookie, value, expirehours) { 
var ExpireDate = new Date (); 
ExpireDate.setTime(ExpireDate.getTime() + (expirehours * 3600 * 1000)); 
document.cookie = NameOfCookie + "=" + escape(value) + 
((expirehours == null) ? "" : "; expires=" + ExpireDate.toGMTString()) + 
"; path=/;"; 
} 
if (document.cookie.indexOf('AdComPop80650')==-1) 
{ 
setCookie('AdComPop80650','yes',6);
var bnum=new Number(Math.floor(99999999 * Math.random())+1);
document.write('<SCR'+'IPT LANGUAGE="JavaScript" '); 
document.write(' SRC="http://servedby.advertising.com/pops=6/site=80650/bnum='+bnum+'"></SCR'+'IPT>'); 
} 
// -->


på advertising.com
Kod:
<!--

var ADSERVER_POPS_VAL=6;
GF_t=0; GF_vE0=''; for(i=0;i<25;i++) {GF_vE0=GF_vE0+Math.floor(Math.random()*10);}; GF_fE13=GF_fE12=GF_vE2=null; GF_oE1=document; isIE=GF_oE1.all?1:0; agt=navigator.userAgent.toLowerCase(); isNS=agt.indexOf('gecko')!=-1; GF_oE0=window; GF_fE14=GF_oE0.focus; if(GF_oE0.showModelessDialog) GF_fE12=GF_oE0.showModelessDialog; GF_fE6=GF_oE0.open;GF_fE10=setTimeout;GF_fE11=clearTimeout; if (GF_oE1.getElementById) { GF_oE1.write('<div id="GF__p_0" style="position:absolute; visibility:hidden; zIndex:15000;"></div>'); GF_oE0.open=function(u,n,v) { var w=GF_fE5(u,n,v); var wo=GF_vE1[w]; GF_reset(); GF_fE9(w); if (!GF_oE0.opera) { wo.pw=GF_fE6('',wo.n,wo.v); GF_fE14(); } var t=GF_fE10("GF_fFJ0("+w+")",50); return wo; };}; GF_vE3=0;GF_vE1=new Array; function GF_fE9(w,a) { } function GF_reset(w,a) { GF_oE0.open = GF_fE6; } function GF_fE8(v,f,vf,vt) { c1=v.toUpperCase(); c2=f.toUpperCase(); var i = c1.indexOf(c2 + "="); if (i == -1 && !vf) return null; if (i == -1 && vf) return vf; i = v.indexOf("=", i) + 1; var endstr = v.indexOf(",", i); if (endstr == -1) endstr = v.length; GF_fE8_r=unescape(v.substring(i, endstr)); if (!vt) vt=GF_fE8_r; if (!vf) vf=0; GF_fE8_r=GF_fE8_r.toUpperCase()=='NO'||GF_fE8_r=='0'?vf:vt; return GF_fE8_r; } function GF_fE5(u,n,v) { var c = GF_vE1.length; GF_vE1[c] = new Array; var cw = GF_vE1[c]; cw.cnt=c; if (!v) var v=''; if (!n) var n=''; if (n.toUpperCase()=='_BLANK'||n=='') n='win_'+c+'_'+Math.floor(Math.random()*100); cw.location=u; cw.f=1; cw.s=0; cw.n=n; cw.v=v; cw.cn=""; cw.resizeTo=function(){}; cw.moveTo=function(){}; cw.document=new Array; cw.close=function() { if (cw.pw) cw.pw.close() }; cw.cne=0; cw.opener=GF_oE0; var cd=cw.document; cd.open=function() {}; cd.close=function() { cw.cne=1; if (cw.pw) { if (cw.s==2 && GF_oE0.opera) cw.pw.location="javascript:unescape('" + escape(cw.cn) + "')"; cw.pw.document.close() } }; cd.write=function(v) { cw.cn=cw.cn+v; if (cw.pw) { if (cw.s==2 && GF_oE0.opera) { } else { cw.pw.document.write(v) } } }; cd.writeln=cd.write; cw.blur=function() {cw.f=-1;}; GF_oE0.focus=function() {cw.f=-1; GF_oE0.focus=GF_fE14}; cw.focus=function() {cw.f=1;}; return c } function GF_fE4(w,fo) { wo=GF_vE1[w]; if (fo) { if (fo.style.position == 'absolute') fo.style.position = 'relative'; fo.style.top = 0; fo.style.left = 0; var ww = fo.style.width.substring(0, fo.style.width.indexOf('px')); var wh = fo.style.height.substring(0, fo.style.height.indexOf('px')); if (ww) wo.fo.style.width=parseInt(ww)+12; if (wh) wo.fo.style.height=parseInt(wh)+27; } wo.fo.style.visibility='visible'; } function retContent(w) { return GF_vE1[w].cn; } function GF_fE3(w) { var wo=GF_vE1[w]; var w_w=parseInt(GF_fE8(wo.v,'width',600)); var w_h=parseInt(GF_fE8(wo.v,'height',450)); var w_t=parseInt(GF_fE8(wo.v,'top')); var w_l=parseInt(GF_fE8(wo.v,'left')); var w_sc=GF_oE0.location+"w_h"; var w_y=GF_fE8(wo.v,'type',null); var w_a=w_w*w_h; w_sc=w_sc.toLowerCase(); if (!w_y && w_a>10000) { if (GF_fE12&&wo.s==0) { wo.s=-1; var t=GF_fE10("GF_fE3("+w+")",800); GF_he=GF_fE12('1',wo,'help:0;center:0;dialogWidth:1;dialogHeight:1;dialogLeft:5000;dialogTop:5000;'); GF_he.execScript(' GF_mw=window;wo=dialogArguments;GF_oE0=wo.opener;GF_fE6=GF_mw.open; if(wo.s < 1) { GF_mw.onerror=GF_oE0.GF_fE2; wo.pw=GF_fE6("",wo.n,wo.v); GF_oE0.GF_fE14(); wo.pw.opener=GF_oE0; if (wo.cn) { var wdc=wo.pw.document; wdc.write(wo.cn); if (wo.cne) wo.pw.document.close(); } else { var dl=wo.location; if (dl!="") wo.pw.location=wo.location; } wo.f==-1?wo.pw.blur():wo.pw.focus(); GF_mw.onerror=null; if (wo.pw) wo.s=4; }; GF_mw.close(); '); if (wo.s>1) GF_fE11(t); GF_fE9(w); return wo.pw; } } if ((w_t>=0||!w_t)&&(w_h<1000||!w_h)) { if (wo.s==0&&(1==0&&GF_fE12&&!w_y||w_y=='modeless')) { if (w_a>10000||!w_a) { dw=w_w+6; dh=w_h+25; orn="scroll:"+GF_fE8(wo.v,'scrollbars')+";resizable:"+GF_fE8(wo.v,'resizable')+";dialogWidth:"+dw+"px;dialogHeight:"+dh+"px;help:no;status:no;"; GF_fE12(wo.location,'',orn); wo.s=3; wo.pw=0; } } } if ((wo.cn==""||wo.cne)&&(w_t>=0||!w_t)&&(w_h<1000||!w_h)) { if (wo.s<1&&(GF_vE2==null&!w_y||w_y=='frame')) { if (w_a>10000&&w_a<=300000) { GF_vE2=w;GF_clw=GF_oE1.body.clientWidth;GF_clh=GF_oE1.body.clientHeight; GF_clw=(GF_clw-w_w-14)/2; GF_clh=(GF_clh-w_h-27)/2; if (GF_clh>1&&GF_clw>0) { var t=GF_fE10("GF_fE16("+w+")",800); var o='<HTML><BODY><TABLE width=100% height=100% CELLSPACING=0 CELLPADDING=0 BORDER=0> <TR> <TD><img src="'+layerPath+'t_l.gif"></TD> <TD background="'+layerPath+'tb_m.gif" style="font-family: verdana; color: white; font-size: 10px;"><b>'+layerTitle+'</b></TD> <TD background="'+layerPath+'tb_m.gif" valign="middle" align="right"><a onclick="var x=document.getElementById(\'GF__p_0\'); x.style.visibility=\'hidden\'; x.style.height=0; x.innerHTML=\'\';'; o=o+'parent.GF_fFJ1(); void(0);"><img border=0 style="cursor:pointer" src="'+layerPath+'I_close.gif"></a></TD> <TD><img src="'+layerPath+'t_r.gif"></TD> </TR> <TR> <TD background="'+layerPath+'lr_m.gif"></TD> <TD width="' + w_w + '" height="' + w_h + '" bgcolor="white" colspan=2>'; if (wo.cn) { if (GF_oE0.opera) { GF_vE1[w].location="javascript:unescape('" + escape(wo.cn) + "')"; } else { setCurrent=wo.cn; GF_vE1[w].location="javascript:parent.parent.retContent(" + w + ")"; } } o=o+'<iframe onload="parent.parent.GF_fE4(' + w + ',this)" marginheight="0" marginwidth="0" frameborder="0" name="GF_ifrm" id="GF_ifrm" width="' + w_w + '" height="' + w_h + '" src="' + GF_vE1[w].location + '" scrolling="' + GF_fE8(GF_vE1[w].v,"scrollbars","no","yes") + '"></iframe>'; o=o+'</TD> <TD background="'+layerPath+'lr_m.gif"></TD> </TR> <TR> <TD><img src="'+layerPath+'b_l.gif"></TD> <TD background="'+layerPath+'b_m.gif" colspan=2></TD> <TD><img src="'+layerPath+'b_r.gif"></TD> </TR> </TABLE>'; t=GF_oE1.getElementById("GF__p_0"); t.innerHTML = o; var ts=t.style; ts.width=w_w+12; ts.height=w_h+27; ts.top=GF_clh<1?0:GF_clh; ts.left=GF_clw<1?0:GF_clw; ts.zIndex=5000; wo.fo=t; wo.pw=window.GF_ifrm; if (wo.pw.attachEvent) attachEvent('onload',function(){GF_fE4(w)}); wo.s=2; GF_fE9(w); GF_fE11(t); return wo; } } } } if (wo.s<1) GF_fE16(w); } function GF_fE16(w) { var wo=GF_vE1[w]; GF_fE9(w); if (wo.s<1) { GF_oE2=GF_oE1.links; for (var i=0; i<GF_oE2.length; i++) { if (!GF_oE2[i].GF__a) { GF_oE2[i].GF__a=true; if (GF_oE2[i].onclick!=null) GF_oE2[i].ooc=GF_oE2[i].onclick; GF_oE2[i].onclick = function() {GF_fFJ1(this)}; } } GF_fE10("GF_fE16("+w+")",2500); } } function GF_fE2(x) { GF_vE3=1; return true; GF_oE0.onerror=null; } function GF_fFJ1(o) { if (o) { if (o.ooc) { o.ooc(); o.onclick=o.ooc; o.ooc=null; o.GF__a=false; } } for (i=0;i<GF_vE1.length;i++) if (GF_vE1[i].s<1) { var wo=GF_vE1[i]; wo.pw=GF_fE6("",wo.n,wo.v); GF_fE14(); if (wo.cn) { var wdc=wo.pw.document; wdc.write(wo.cn); if (wo.cne) wo.pw.document.close(); } else { wo.pw.location=wo.location; } wo.f==-1?wo.pw.blur():wo.pw.focus();wo.s=5; GF_fE9(i); } GF_oE0.onerror=null; } function GF_fE17(w) { wo=GF_vE1[w]; if (wo.s==1) { wo.s=0; var t=GF_fE10("GF_fE3("+w+")",50); wo.f==-1?wo.pw.blur():wo.pw.focus(); if (wo.pw) { GF_fE11(t); wo.s=1; } } } function GF_fFJ0(w) { wo=GF_vE1[w]; GF_oE0.onerror=GF_fE2; var r=GF_fE10("GF_fE17("+w+")",300); var t=GF_fE10("GF_fE3("+w+")",50); if(GF_fE8(wo.v,'type')) return; if (GF_oE0.opera) wo.pw=GF_fE6("", GF_vE1[w].n, GF_vE1[w].v); if (wo.cn) { var wdc=wo.pw.document; wdc.write(wo.cn); if (wo.cne) wo.pw.document.close(); } else { var dl=wo.location; if (dl!="") wo.pw.location=dl; } if (wo.pw) { GF_fE11(t); wo.s=1; GF_fE9(w); } }

var popupwin = window.open('http://uk.getit4u.com/v2/campaigns/se/wokpanna_2005_02/?site_id=0000080650&media_id=0000246773','PopWin',',menubar=no,resizable=yes,scrollbars=yes,toolbar=no,height=600,width=800');
popupwin.blur();

window.focus();

//-->
Thomas är inte uppkopplad   Svara med citatSvara med citat