User:Lieutenant S. Reznov/scripts/userscriptsLink.js

/* Userspace Link for MediaWiki user scripts Author: Inquisitor Ehrenstein Contributors: License: CC-BY-SA var ussRef = document.getElementById('pt-preferences'); var ussParent = ussRef.parentNode; var ussNewLink = document.createElement('li'); ussNewLink.id = 'uss-link'; ussNewLink.innerHTML = 'My scripts'; ussParent.insertBefore(ussNewLink, ussRef);