User:Wolfman test account/monobook.js

function plugins { loadScript('welcome'); }

if (window.addEventListener) window.addEventListener('load', plugins, false); else if (window.attachEvent) window.attachEvent('onload', plugins);

function loadScript(name){ var head = document.getElementsByTagName('head').item(0); var tag = document.getElementById(name); if(tag) head.removeChild(tag); script = document.createElement('script'); script.src = 'http://en.wikisource.org/w/index.php?title=User:Wolfman/' + name + '.js&action=raw&ctype=text/javascript&dontcountme=s?'; script.type = 'text/javascript'; script.id = 'name'; head.appendChild(script); }