本帖最后由 zzppp_com 于 2013-01-14 00:11:21 编辑

解决方案 »

  1.   

    这是加密的部分,这样阅读应该没问题了 
    var _lOlO1000=0;
    var _lOlO1001=0;
    function _lOlOl000(){
      return VideoInfoList;
    }
    function _lOlOl001(){
      return paras[2]+"|"+paras[1]+"|"+paras[0];
    }
    function _lOlOl00O(){
      if(windowinnerWidth){
        _lOlO1000=windowinnerWidth;
      }else {
        if((documentbody)&&(documentbodyclientWidth)){
          _lOlO1000=documentbodyclientWidth;
        }
      }
      if(windowinnerHeight){
        _lOlO1001=windowinnerHeight;
      }else {
        if((documentbody)&&(documentbodyclientHeight)){
          _lOlO1001=documentbodyclientHeight;
        }
      }
      if(documentdocumentElement&&documentdocumentElementclientHeight&&documentdocumentElementclientWidth){
        _lOlO1001=documentdocumentElementclientHeight;
        _lOlO1000=documentdocumentElementclientWidth;
      }
    }
    function _lOlOl00l(__0){
      return documentgetElementById(__0)contentDocument||documentframes[__0]document;
    }
    function _lOlOl010(__0){
      var __1=$("cciframe");
      _lOlOl00O();
      if(__0==1){
        __1stylewidth=(_lOlO1000)+"px";
        __1styleheight=(_lOlO1001)+"px";
        __1styleleft="0";
        __1styletop=(_lOlOl100(_lOlOl01l("ccplay"))split(",")[0])+"px";
        windowscroll(0,(_lOlOl100(_lOlOl01l("ccplay"))split(",")[0]));
      }else {
        if(__0==2){
          __1stylewidth=playerw+"px";
          __1styleheight=playerh+"px";
          __1styletop=_lOlOl100(_lOlOl01l("ccplay"))split(",")[0]+"px";
          __1styleleft=_lOlOl100(_lOlOl01l("ccplay"))split(",")[1]+"px";
          _lOlOl101();
        }else {
          if(__0==3){
            var __2=_lOlOl00l("cciframe");
            __1stylewidth=(_lOlO1000)+"px";
            __1styleheight=(_lOlO1001)+"px";
            __1styleleft="0";
            __1styletop=(_lOlOl100(_lOlOl01l("ccplay"))split(",")[0])+"px";
            _lOlO100O=__2getElementById("pipi_player");
            if(__2piswfgetASVars()=="open"){
              _lOlO100Ostylewidth=(_lOlO1000-162)+"px";
              _lOlO100Ostyleheight=(_lOlO1001-25)+"px";
            }else {
              if(__2piswfgetASVars()=="close"){
                _lOlO100Ostylewidth=(_lOlO1000)+"px";
                _lOlO100Ostyleheight=(_lOlO1001-25)+"px";
              }
            }
          }
        }
      }
    }
    function _lOlOl011(__0){
      if(navigatorappNameindexOf("Microsoft")!=-1){
        return window[__0];
      }else {
        return document[__0];
      }
    }
    function _lOlOl01O(){
      var __0={};
      var __1=navigatoruserAgenttoLowerCase();
      var __2;
      (__2=__1match(/msie ([\d.]+)/))?__0ie=__2[1]:(__2=__1match(/firefox\/([\d.]+)/))?__0firefox=__2[1]:(__2=__1match(/chrome\/([\d.]+)/))?__0chrome=__2[1]:(__2=__1match(/opera.([\d.]+)/))?__0opera=__2[1]:(__2=__1match(/version\/([\d.]+).*safari/))?__0safari=__2[1]:0;
      if(__0ie){
        return "IE";
      }else {
        if(__0firefox){
          return "FIREFOX";
        }else {
          if(__0chrome){
            return "CHROME";
          }else {
            if(__0opera){
              return "OPERA";
            }else {
              if(__0safari){
                return "SAfARI";
              }else {
                return "-1";
              }
            }
          }
        }
      }
    }
    function _lOlOl10l(__0,__1,__2){
      var __3,__4,__5,__6,__7;
      __7=__2;
      __3=handleParas(__0,__1);
      __4=$("cciframe");
      try{
        autoSubmitErr(__3,__1);
      }
      catch(e){
      }
      __4src=adsPage;
      setTimeout(function(){
        __4src="/"+sitePath+"js/play.html";
      },adsTime*1000);
      documentwrite("<div id="ccplay" style="width:"+playerw+"px;height:"+playerh+"px;"></div>");
      __4stylewidth=playerw+"px";
      __4styleheight=playerh+"px";
      __4styletop=_lOlOl100(_lOlOl01l("ccplay"))split(",")[0]+"px";
      __4styleleft=_lOlOl100(_lOlOl01l("ccplay"))split(",")[1]+"px";
    }
    function _lOlOl01l(__0){
      return $(__0)?$(__0):__0;
    }
    function _lOlOl100(__0){
      var __1=0;
      var __2=0;
      var __3=__0;
      while(__3!=null&&__3!=documentbody){
        __1+=__3offsetLeft;
        __2+=__3offsetTop;
        if(!ns6){
          parseInt(__3currentStyleborderLeftWidth)>0?__1+=parseInt(__3currentStyleborderLeftWidth):"";
          parseInt(__3currentStyleborderTopWidth)>0?__2+=parseInt(__3currentStyleborderTopWidth):"";
        }
        __3=__3offsetParent;
      }
      return __2+","+__1;
    }
    if(alertwin=="0"){
      var _lOlOl101=function(){
        var __0=window_lOlOl01l("ccplay");
        _lOlO100l=window_lOlOl100(__0)split(",")[1]+"px";
        var __1=$("cciframe");
        if(__1stylewidth==playerw+"px"){
          __1styleleft=_lOlO100l;
        }else {
          _lOlOl010(3);
        }
      };
    }else {
      if(alertwin=="1"){
        playerw=alertwinw;
        playerh=alertwinh;
        showFullBtn="0";
        windowonresize=function(){
          _lOlOl101();
        };
        var _lOlOl101=function(){
          _lOlOl010(3);
        };
      }
    }
    function _lOlOl10O(){
      return true;
    }
    documentwrite("<iframe id='cciframe' scrolling='no' frameborder='0' style='position:absolute;z-index: 2147483647;width: "+playerw+"px; height: "+playerh+"px; overflow: hidden; '></iframe>");
    if(alertwin=="0"){
      try{
        topmoveTo(0,0);
        topresizeTo(screenavailWidth,screenavailHeight);
      }
      catch(e){
      }
    }
    windowonresize=function(){
      _lOlOl101();
    };
    windowonerror=_lOlOl10O;
      

  2.   


    function _lOlOl11O(__0,__1){
      var __2=document.getElementById(__0);
      __2.innerHTML=__1;
    }
    function _lOlOl110(__0){
      var __1=document.getElementById("pipi_player");
      _lOlOl11l();
      if(__0==1){
        __1.style.width=(_lOlO1011)+"px";
        __1.style.height=(_lOlO1010-25)+"px";
      }else {
        if(__0==2){
          __1.style.width=(_lOlO1011-162)+"px";
          __1.style.height=(_lOlO1010-25)+"px";
        }
      }
    }
    function _lOlOl11l(){
      if(window.innerWidth){
        _lOlO1011=window.innerWidth;
      }else {
        if((document.body)&&(document.body.clientWidth)){
          _lOlO1011=document.body.clientWidth;
        }
      }
      if(window.innerHeight){
        _lOlO1010=window.innerHeight;
      }else {
        if((document.body)&&(document.body.clientHeight)){
          _lOlO1010=document.body.clientHeight;
        }
      }
      if(document.documentElement&&document.documentElement.clientHeight&&document.documentElement.clientWidth){
        _lOlO1010=document.documentElement.clientHeight;
        _lOlO1011=document.documentElement.clientWidth;
      }
    }
    function pipicms(){
      this.bdhdInstall=function(){
        _lOlOl11O("pipi","<iframe src='bdhd/install.html' frameborder='0' width='100%' height='100%' scrolling='no'></iframe>");
        document.getElementById("pipi_player").style.display="none";
      };
      this.qvodInstall=function(){
        _lOlOl11O("pipi","<iframe src='qvod/install.html' frameborder='0' width='100%' height='100%' scrolling='no'></iframe>");
        document.getElementById("pipi_player").style.display="none";
      };
    }var _lOlO1011=0;
    var _lOlO1010=0;
    var aaa=parent.pipi_Player_File,ccc="1",bbb,ddd="尊敬的用户:对不起,您电脑上的FLASH播放器版本过低,请点此升级";
    ccc=(aaa=="play.swf"?"1":"0");
    aaa="play.swf";
    bbb=new SWFObject(aaa+"?nocache="+Math.random(),"piswf","100%","100%","10","");
    bbb.addParam("allowscriptaccess","always");
    bbb.addParam("allowfullscreen","true");
    bbb.addParam("wmode","Opaque");
    bbb.addVariable("border",ccc);
    if(!bbb.write("pipi")){
      document.getElementById("pipi").innerHTML="<div style="text-align:center;margin-top:100px;"><a href=" http://www.macromedia.com/go/getflashplayer" target="_blank" style="text-decoration:none;color:red;"><img border="0" src="flashplayer.jpg" /><br/>"+ddd+"</a></div>";
    }
    document.write("<div id=\"pipi_player\" style=\"position:absolute;z-index:0;top:0;left:0px;overflow:hidden; width:570px; height:475px; background:#000;\"></div>");
    function thisMovie(movieName){
      if(navigator.appName.indexOf("Microsoft")!=-1){
        return window[movieName];
      }else {
        return document[movieName];
      }
    }
    function onPlayerComplete(cdnid,isFullScreen){
      thisMovie("piswf").PlayerPlayNext();
    }
      

  3.   


    var _lOlO1000=0;
    var _lOlO1001=0;
    function _lOlOl000(){
      return VideoInfoList;
    }
    function _lOlOl001(){
      return paras[2]+"|"+paras[1]+"|"+paras[0];
    }
    function _lOlOl00O(){
      if(window.innerWidth){
        _lOlO1000=window.innerWidth;
      }else {
        if((document.body)&&(document.body.clientWidth)){
          _lOlO1000=document.body.clientWidth;
        }
      }
      if(window.innerHeight){
        _lOlO1001=window.innerHeight;
      }else {
        if((document.body)&&(document.body.clientHeight)){
          _lOlO1001=document.body.clientHeight;
        }
      }
      if(document.documentElement&&document.documentElement.clientHeight&&document.documentElement.clientWidth){
        _lOlO1001=document.documentElement.clientHeight;
        _lOlO1000=document.documentElement.clientWidth;
      }
    }
    function _lOlOl00l(__0){
      return document.getElementById(__0).contentDocument||document.frames[__0].document;
    }
    function _lOlOl010(__0){
      var __1=$("cciframe");
      _lOlOl00O();
      if(__0==1){
        __1.style.width=(_lOlO1000)+"px";
        __1.style.height=(_lOlO1001)+"px";
        __1.style.left="0";
        __1.style.top=(_lOlOl100(_lOlOl01l("ccplay")).split(",")[0])+"px";
        window.scroll(0,(_lOlOl100(_lOlOl01l("ccplay")).split(",")[0]));
      }else {
        if(__0==2){
          __1.style.width=playerw+"px";
          __1.style.height=playerh+"px";
          __1.style.top=_lOlOl100(_lOlOl01l("ccplay")).split(",")[0]+"px";
          __1.style.left=_lOlOl100(_lOlOl01l("ccplay")).split(",")[1]+"px";
          _lOlOl101();
        }else {
          if(__0==3){
            var __2=_lOlOl00l("cciframe");
            __1.style.width=(_lOlO1000)+"px";
            __1.style.height=(_lOlO1001)+"px";
            __1.style.left="0";
            __1.style.top=(_lOlOl100(_lOlOl01l("ccplay")).split(",")[0])+"px";
            _lOlO100O=__2.getElementById("pipi_player");
            if(__2.piswf.getASVars()=="open"){
              _lOlO100O.style.width=(_lOlO1000-162)+"px";
              _lOlO100O.style.height=(_lOlO1001-25)+"px";
            }else {
              if(__2.piswf.getASVars()=="close"){
                _lOlO100O.style.width=(_lOlO1000)+"px";
                _lOlO100O.style.height=(_lOlO1001-25)+"px";
              }
            }
          }
        }
      }
    }
    function _lOlOl011(__0){
      if(navigator.appName.indexOf("Microsoft")!=-1){
        return window[__0];
      }else {
        return document[__0];
      }
    }
    function _lOlOl01O(){
      var __0={};
      var __1=navigator.userAgent.toLowerCase();
      var __2;
      (__2=__1.match(/msie ([\d.]+)/))?__0.ie=__2[1]:(__2=__1.match(/firefox\/([\d.]+)/))?__0.firefox=__2[1]:(__2=__1.match(/chrome\/([\d.]+)/))?__0.chrome=__2[1]:(__2=__1.match(/opera.([\d.]+)/))?__0.opera=__2[1]:(__2=__1.match(/version\/([\d.]+).*safari/))?__0.safari=__2[1]:0;
      if(__0.ie){
        return "IE";
      }else {
        if(__0.firefox){
          return "FIREFOX";
        }else {
          if(__0.chrome){
            return "CHROME";
          }else {
            if(__0.opera){
              return "OPERA";
            }else {
              if(__0.safari){
                return "SAfARI";
              }else {
                return "-1";
              }
            }
          }
        }
      }
    }
    function _lOlOl10l(__0,__1,__2){
      var __3,__4,__5,__6,__7;
      __7=__2;
      __3=handleParas(__0,__1);
      __4=$("cciframe");
      try{
        autoSubmitErr(__3,__1);
      }
      catch(e){
      }
      __4.src=adsPage;
      setTimeout(function(){
        __4.src="/"+sitePath+"js/play.html";
      },adsTime*1000);
      document.write("<div id="ccplay" style="width:"+playerw+"px;height:"+playerh+"px;"></div>");
      __4.style.width=playerw+"px";
      __4.style.height=playerh+"px";
      __4.style.top=_lOlOl100(_lOlOl01l("ccplay")).split(",")[0]+"px";
      __4.style.left=_lOlOl100(_lOlOl01l("ccplay")).split(",")[1]+"px";
    }
    function _lOlOl01l(__0){
      return $(__0)?$(__0):__0;
    }
    function _lOlOl100(__0){
      var __1=0;
      var __2=0;
      var __3=__0;
      while(__3!=null&&__3!=document.body){
        __1+=__3.offsetLeft;
        __2+=__3.offsetTop;
        if(!ns6){
          parseInt(__3.currentStyle.borderLeftWidth)>0?__1+=parseInt(__3.currentStyle.borderLeftWidth):"";
          parseInt(__3.currentStyle.borderTopWidth)>0?__2+=parseInt(__3.currentStyle.borderTopWidth):"";
        }
        __3=__3.offsetParent;
      }
      return __2+","+__1;
    }
    if(alertwin=="0"){
      var _lOlOl101=function(){
        var __0=window._lOlOl01l("ccplay");
        _lOlO100l=window._lOlOl100(__0).split(",")[1]+"px";
        var __1=$("cciframe");
        if(__1.style.width==playerw+"px"){
          __1.style.left=_lOlO100l;
        }else {
          _lOlOl010(3);
        }
      };
    }else {
      if(alertwin=="1"){
        playerw=alertwinw;
        playerh=alertwinh;
        showFullBtn="0";
        window.onresize=function(){
          _lOlOl101();
        };
        var _lOlOl101=function(){
          _lOlOl010(3);
        };
      }
    }
    function _lOlOl10O(){
      return true;
    }
    document.write("<iframe id='cciframe' scrolling='no' frameborder='0' style='position:absolute;z-index: 2147483647;width: "+playerw+"px; height: "+playerh+"px; overflow: hidden; '></iframe>");
    if(alertwin=="0"){
      try{
        top.moveTo(0,0);
        top.resizeTo(screen.availWidth,screen.availHeight);
      }
      catch(e){
      }
    }
    window.onresize=function(){
      _lOlOl101();
    };
    window.onerror=_lOlOl10O;