super.nu's never ending special offers
super.nu which has a horrible reputation here has "Today Only" Special Offers that never seem to end ( :eek: ) so I looked in thier HTML code and found this:
Code:
<SCRIPT LANGUAGE = 'JavaScript'>
<!--
function makeArray() {
for (i = 0; i<makeArray.arguments.length; i++)
this[i + 1] = makeArray.arguments[i];
}
var months = new makeArray('January','February','March',
'April','May','June','July','August','September',
'October','November','December');
var date = new Date();
var day = date.getDate();
var month = date.getMonth() + 1;
var yy = date.getYear();
var year = (yy < 1000) ? yy + 1900 : yy;
document.write(months[month] + " " + day + " " + year);
//--></SCRIPT>
at 12:00am Midnight EST.
They seem to have a javascript that puts the date and 12AM there:rolleyes: