User:U5K0/test.js

var nav_pan=document.getElementById("p-navigation"); var new_li=document.createElement("li"); new_li.innerHTML="Collaborate"; nav_pan.getElementsByClassName("body")[0].getElementsByTagName("ul")[0].appendChild(new_li); var collab=document.getElementById("fg-collab"); collab.innerHTML="Wikipedia is a collaborative project. You're invited to help improve it! "; var t=setTimeout("collab.innerHTML='Collaborate!'",10000);