User:Tali64³/common.js

/* EasyEdit - make articles easier and quicker to edit Work-in-progress; helpful documentation available at https://doc.wikimedia.org/mediawiki-core/master/js/#!/api function makePageEditable { document.getElementById("mw-content-text").setAttribute("contenteditable", true); document.getElementById("firstHeading").innerHTML += "Save "; } function save { document.getElementById("mw-content-text").setAttribute("contenteditable", false); document.getElementById("save").outerHTML = ""; } window.addEventListener("load", makePageEditable);