// ==UserScript==
// @name           e2 server time
// @description    Place a server-time clock atop the nodelets.
// @namespace      http://everything2.com
// @include        http://everything2.com/*
// @include        http://www.everything2.com/*
// @include        http://everything2.net/*
// @include        http://www.everything2.net/*
// @include        http://everything2.org/*
// @include        http://www.everything2.org/*
// @author         raincomplex
// ==/UserScript==

function updateclock() {
	var tm = (new Date()).toUTCString()
	tm = tm.replace(/:\d\d /, ' ');
	clock.innerHTML = tm;
	setTimeout(updateclock, 60000);
}

var box = document.getElementById('sidebar');
var clock = document.createElement('div');
clock.style.padding = '5px';
box.insertBefore(clock, box.firstChild);
updateclock();

Log in or register to write something here or to contact authors.