/*
* @title fake Date
* @description fake JavaScript Date()
* @include http://*
* @license MIT License
* @require
*/
for (var i = 0; i < 3; i++) {
var newDateString = prompt("Enter Date to mock (yyyy/mm/dd)");
if (!newDateString) { break; }
if (!newDateString.match(/^\d{4|\/\d{2}\/\d{2}$/)) { break; }
var _Date = Date;
Date = function(_) { return new _Date(newDateString); }
break;
}