View Single Post
Old 01-09-2009, 08:20 AM  
Carmine Raguso
So Fucking Banned
 
Join Date: Dec 2008
Location: Prescott, AZ
Posts: 2,158
It's not in the iframe code, it's actually coming directly from the AFF code:

Code:
<script             language="Javascript">
    var ie7 = 0;
    if (window.XMLHttpRequest && window.ActiveXObject) {
        ie7 = 1;
    }
    var poptest = null;
    if (window.SymRealWinOpen){
        window.open = SymRealWinOpen;
    }
    if (window.NS_ActualOpen){
        window.open = NS_ActualOpen;
    }
    function blockError(){
        //alert("Block Error");
        return true;
    }
    window.onerror = blockError;
    function bypass(){
        window.onfocus=null;
        // alert("BY PASS");
        if (ie7 == 0) poptest = window.showModelessDialog("javascript:function blockError(){return true;} window.onerror = blockError; function pop(){setTimeout(\"self.blur(); self.parent.focus(); top.location.href='http://hotbox.com/p/vodhbs/?p=vod_page_browse&vod=browse&pid=g954772.subpopunder1&mustgounder=1'; self.close(); self.opener.focus(); self.parent.focus(); \",2);} pop(); self.blur(); self.parent.focus(); self.parent.focus();","","dialogtop=9999; dialogleft=9999; dialogheight:0px; dialogWidth:0px; dialogHide:1; resizable: 1; status:no; help:no;scroll:yes;status:yes");
        else poptest = window.showModelessDialog("http://hotbox.com/p/vodhbs/?p=vod_page_browse&vod=browse&pid=g954772.subpopunder1&mustgounder=1");
                poptest.innerHeight = "480";
                poptest.height = "480";
                poptest.innerWidth = "900";
                poptest.width = "900";
                poptest.blur();
                poptest.parent.focus();
                poptest.window.opener.focus();
    }
    var from_pop = 0; 
    if (from_pop != 1) {
    poptest = window.open('http://hotbox.com/p/vodhbs/?p=vod_page_browse&vod=browse&pid=g954772.subpopunder1&mustgounder=1','poptest','location=yes,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes,screenX=0,screenY=0,height=480,width=900');
                                                                                                                             
    if(!poptest){
         window.onfocus=bypass;
         window.focus();
    }
Carmine Raguso is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote