MediaWiki:Monobook2.js
From EncyclopAtys
/*<nowiki>*/
/* Any JavaScript here will be loaded for users using the MonoTryker skin */
/** additional monobook scripts **/
var timerParent = document.getElementById( 'serverstatus' ).getElementsByTagName( 'ul' )[0];
var timerLink = document.createElement( 'a' );
var timerObj = document.createElement( 'li' );
var ariimg = document.createElement('img');
var ari = document.createElement( 'li' );
ariimg.src = "http://www.3025-game.de/special/Realmstatus_ryzom.php?shard=ari&rnd"+Math.random();
ariimg.style.height = "13px";
var aritext = document.createTextNode(" Arispotle");
ari.appendChild(ariimg);
ari.appendChild(aritext);
timerParent.insertBefore( ari, timerParent.firstChild );
var leaimg = document.createElement('img');
var lea = document.createElement( 'li' );
leaimg.src = "http://www.3025-game.de/special/Realmstatus_ryzom.php?shard=lea&rnd"+Math.random();
leaimg.style.height = "13px";
var leatext = document.createTextNode(" Leanon");
lea.appendChild(leaimg);
lea.appendChild(leatext);
timerParent.insertBefore( lea, timerParent.firstChild );
var aniimg = document.createElement('img');
var ani = document.createElement( 'li' );
aniimg.src = "http://www.3025-game.de/special/Realmstatus_ryzom.php?shard=ani&rnd"+Math.random();
aniimg.style.height = "13px";
var anitext = document.createTextNode(" Aniro");
ani.appendChild(aniimg);
ani.appendChild(anitext);
timerParent.insertBefore( ani, timerParent.firstChild );
/*</nowiki>*/