rem: Date.prototype.setUTCFullYear=function(x){return d.setUTCFullYear(x);} Date.prototype.setUTCMonth=function(x){return d.setUTCMonth(x);} Date.prototype.setUTCDate=function(x){return d.setUTCDate(x);} Date.prototype.setUTCDay=function(x){return d.setUTCDay(x);} Date.prototype.setUTCHours=function(x){return d.setUTCHours(x);} Date.prototype.setUTCMinutes=function(x){return d.setUTCMinutes(x);} Date.prototype.setUTCSeconds=function(x){return d.setUTCSeconds(x);} Date.prototype.setUTCMilliseconds= 
add: window.Date.prototype.setUTCFullYear=function(x){return d.setUTCFullYear(x);} window.Date.prototype.setUTCMonth=function(x){return d.setUTCMonth(x);} window.Date.prototype.setUTCDate=function(x){return d.setUTCDate(x);} window.Date.prototype.setUTCDay=function(x){return d.setUTCDay(x);} window.Date.prototype.setUTCHours=function(x){return d.setUTCHours(x);} window.Date.prototype.setUTCMinutes=function(x){return d.setUTCMinutes(x);} window.Date.prototype.setUTCSeconds=function(x){return d.setUTCSeconds(x);} window.Date.prototype.setUTCMilliseconds= 
context:   Date = function() {    /* DO NOT make 'd' a member! EvilCode will use it! */    var d;    var a = arguments;    /* apply doesn't seem to work for constructors :( */    if(arguments.length == 0) d=new tmp();    if(arguments.length == 1) d=new tmp(a[0]);    if(arguments.length == 3) d=new tmp(a[0],a[1],a[2]);    if(arguments.length == 4) d=new tmp(a[0],a[1],a[2],a[3]);    if(arguments.length == 5) d=new tmp(a[0],a[1],a[2],a[3],a[4]);    if(arguments.length == 6) d=new tmp(a[0],a[1],a[2],a[3],a[4],a[5]);    if(arguments.length == 7) d=new tmp(a[0],a[1],a[2],a[3],a[4],a[5],a[6]);    if(arguments.length > 7) d=new tmp();    if(arguments.length > 0) {      if((arguments.length == 1) && typeof(a[0]) == "string") {        reparseDate(d,a[0]);      } else if(arguments.length > 1) {         /* Numerical value. No timezone given, adjust. */        d.setTime(d.getTime()-(d.getTimezoneOffset()*60000));      }    }    Date.prototype.valueOf=Date.prototype.getTime = /* UTC already */         function(){return d.getTime();}    Date.prototype.getFullYear=function(){return d.getUTCFullYear();}      Date.prototype.getYear=function() {return d.getYear();}    Date.prototype.getMonth=function(){return d.getUTCMonth();}    Date.prototype.getDate=function() {return d.getUTCDate();}    Date.prototype.getDay=function() {return d.getUTCDay();}    Date.prototype.getHours=function(){return d.getUTCHours();}    Date.prototype.getMinutes=function(){return d.getUTCMinutes();}    Date.prototype.getSeconds=function(){return d.getUTCSeconds();}    Date.prototype.getMilliseconds=function(){return d.getUTCMilliseconds();}    Date.prototype.getTimezoneOffset=function(){return 0;}     Date.prototype.setTime =        function(x) {return d.setTime(x);}    Date.prototype.setFullYear=function(x){return d.setUTCFullYear(x);}    Date.prototype.setYear=function(x){return d.setYear(x);}    Date.prototype.setMonth=function(x){return d.setUTCMonth(x);}    Date.prototype.setDate=function(x){return d.setUTCDate(x);}    Date.prototype.setDay=function(x){return d.setUTCDay(x);}    Date.prototype.setHours=function(x){return d.setUTCHours(x);}    Date.prototype.setMinutes=function(x){return d.setUTCMinutes(x);}    Date.prototype.setSeconds=function(x){return d.setUTCSeconds(x);}    Date.prototype.setMilliseconds=       function(x) {return d.setUTCMilliseconds(x);}     Date.prototype.getUTCFullYear=function(){return d.getUTCFullYear();}      Date.prototype.getUTCMonth=function(){return d.getUTCMonth();}    Date.prototype.getUTCDate=function() {return d.getUTCDate();}    Date.prototype.getUTCDay=function() {return d.getUTCDay();}    Date.prototype.getUTCHours=function(){return d.getUTCHours();}    Date.prototype.getUTCMinutes=function(){return d.getUTCMinutes();}    Date.prototype.getUTCSeconds=function(){return d.getUTCSeconds();}    Date.prototype.getUTCMilliseconds=       function(){return d.getUTCMilliseconds();}         Date.prototype.setUTCFullYear=function(x){return d.setUTCFullYear(x);}    Date.prototype.setUTCMonth=function(x){return d.setUTCMonth(x);}    Date.prototype.setUTCDate=function(x){return d.setUTCDate(x);}    Date.prototype.setUTCDay=function(x){return d.setUTCDay(x);}    Date.prototype.setUTCHours=function(x){return d.setUTCHours(x);}    Date.prototype.setUTCMinutes=function(x){return d.setUTCMinutes(x);}    Date.prototype.setUTCSeconds=function(x){return d.setUTCSeconds(x);}    Date.prototype.setUTCMilliseconds=        function(x) {return d.setUTCMilliseconds(x);}      Date.prototype.toUTCString=function(){return d.toUTCString();}    Date.prototype.toGMTString=function(){return d.toGMTString();}    Date.prototype.toString=function(){return d.toUTCString();}    Date.prototype.toLocaleString=function(){return d.toUTCString();}        /* Fuck 'em if they can't take a joke: */    Date.prototype.toLocaleTimeString=function(){return d.toUTCString();}    Date.prototype.toLocaleDateString=function(){return d.toUTCString();}    Date.prototype.toDateString=function(){return d.toUTCString();}    Date.prototype.toTimeString=function(){return d.toUTCString();}        /* Hack to solve the problem of multiple date objects     * all sharing the same lexically scoped d every time a new one is     * created. This hack creates a fresh new prototype reference for      * the next object to use with a different d binding.     * It doesn't break stuff because at the start of this function,      * the interpreter grabbed a reference to Date.prototype. During      * this function we modified Date.prototype to create the new methods     * with the lexically scoped d reference.     */    Date.prototype = new Object.prototype.toSource();    return d.toUTCString();  }
meta: 3444	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3444/c2513fa317a4be7f1fd1a468d779ff7ce73806d2/jshooks.js/clean/src/chrome/content/jshooks.js