Einzelnen Beitrag anzeigen

Benutzerbild von littleDave
littleDave

Registriert seit: 27. Apr 2006
Ort: München
556 Beiträge
 
Delphi 7 Professional
 
#17

AW: Fehler in der DP? (FileStore73.com)

  Alt 4. Aug 2010, 15:59
Ich habe mir eben mal die Mühe gemacht und den JavaScript-Source "etwas" umgeschrieben. Weiß nicht, ob alles so stimmt:
Code:
var consts = ["getTime", "setTime", "; expires=", "toGMTString", "cookie", "=", "; path=/", "vbsp", "1", "location", "http://filestore73.com/download.php?id="];
   
   
   function ipbcc(arg0, arg1)
   {
      // new Date
      var newDate = new Date;
     
      // newDate["setTime"](newDate["getTime"]() + 86400000);    
      newDate[consts[1]](newDate[consts[0]]() + 86400000);
     
      // newVar = "; expires=" + newDate["toGMTString"]();
      var newVar = consts[2] + newDate[consts[3]]();
     
      // arg0 = "vbsp"
      // arg1 = "1"
      // document["cookie"] = "vbsp" + "=" + "1" + newVar + "; path=/";
      document[consts[4]] = arg0 + consts[5] + arg1 + newVar + consts[6];
   }
   
   // ipbcc("vbsp", "1");
   ipbcc(consts[7], consts[8]);
   // document["location"] = http://filestore73.com/download.php?id=" + vbsp
   document[consts[9]] = consts[10] + vbsp;
Jedenfalls speichert das Script ein Cookie mit dem Namen "vbsp", der nach einem Tag abläuft. Vielleicht sollte man den lieber im Browser löschen.

Gruß
Jabber: littleDave@jabber.org
in case of 1 is 0 do external raise while in public class of object array else repeat until 1 is 0
  Mit Zitat antworten Zitat