User:Inquisitor Sasha/sandboxLink.js

/* Sandbox Link for MediaWiki user links

Author: Inquisitor Ehrenstein

Contributors:

License: GNU General Public License



var sbxRef = document.getElementById('pt-preferences'); var sbxParent = sbxRef.parentNode; var sbxNewLink = document.createElement('li');

sbxNewLink.id = 'sbx-link'; sbxNewLink.innerHTML = 'My sandbox'; sbxParent.insertBefore(sbxNewLink, sbxRef);