AntiGuide: Superfish



PagePrincipale :: DerniersChangements :: ParametresUtilisateur :: Vous êtes 216.73.216.92 :: Signaler un abus :: le: 20250720 17:24:01

impliqué dans SaveByClick

capture d'un (il y en a cinq ou six) javascript reçus (par analyzer ou repris dans le cache de FireFox)
if (navigator.appVersion.toLowerCase().indexOf("msie 7") == -1){

(function(){
if(window.superfish){
} else {
    if( window == top ){
    
                               
         window.superfish = {};
superfish.b = {
    inj : function( d, url, js, cb) {
    if (window.location.protocol.indexOf( "https" ) > -1) {
        url = url.replace("http:","https:");
    }
    else {
        url = url.replace("https","http");
    }

    var h = d.getElementsByTagName('head')[0];
    var s = d.createElement( js ? "script" : 'link' );

    if( js ){
        s.type = "text/javascript";
        s.src = url;
    }else{
        s.rel = "stylesheet";
        s.href = url;
    }
    if(cb){
        s.onload = ( function( prm ){
            return function(){
                cb( prm );
            }
        })( url );
        // IE 
        s.onreadystatechange = ( function( prm ) {
            return function(){
                if (this.readyState == 'complete' || this.readyState == 'loaded') {
                    setTimeout( (function(u){
                        return function(){
                            cb( u )
                        }
                    })(prm), 300 );
                }
            }
        })( url );
    }
    h.appendChild(s);
    return s;
}
};




         var qs = "";
         var scripts = document.getElementsByTagName('script');
         for (var scriptsIterator = 0; scriptsIterator < scripts.length; scriptsIterator++){
            if (scripts[scriptsIterator].src.indexOf("/sf_main.") != -1 ||
                scripts[scriptsIterator].src.indexOf("/sf_conduit.") != -1 ||
                scripts[scriptsIterator].src.indexOf("/sfw.") != -1){
                  if (scripts[scriptsIterator].src.indexOf("?") != -1)
                    qs = scripts[scriptsIterator].src.substring(scripts[scriptsIterator].src.indexOf("?"));
                  break;
            }
         }

         if (qs == "")
            qs = "?";
        else
            qs += "&";
         qs = qs  +  "ver=12.1.6.0";

         if (qs.indexOf("CTID=CT2680812") > -1 || qs.indexOf("CTID=CT2652911") > -1 || qs.indexOf("CTID=CT2659749") > -1
              || qs.indexOf("CTID=CT2695421") > -1 || qs.indexOf("CTID=CT2666540") > -1) {
              if (qs.indexOf("dlsource=") > -1) {
                 qs = qs.replace(/dlsource=([^&]*)?/g, "dlsource=specialsavings_tb");
              }
              else {
                 qs += "&" + "dlsource=specialsavings_tb";
              }
         }
         superfish.b.initialQS = qs;
         superfish.b.inj(window.document, "https://www.superfish.com/ws/sf_code.jsp" + qs, 1);
    }
}
}());

}