User:BryghtShadow/chat.js

function pad(n) {//Function to pad the timestamps with zeroes where needed return (n<10?'0':'') + n; }

setTimeout(function {	if ($('.Chat li:last-child').is('.inline-alert')) {		var d = new Date;		var time = pad(d.getHours) + ':' + pad(d.getMinutes) + ':' + pad(d.getSeconds);		$('.Chat li:last-child').prepend(' '+time+' ')	} },20)