User:Jsprite/monobook.js

function doIt{ var txt = document.editform.wpTextbox1; txt.value = txt.value .replace(/po/gi, "Po"); document.editform.wpSummary.value += "trying something out"; document.editform.wpMinoredit.checked = true; }

if (window.addEventListener) window.addEventListener("load",doIt,false); else if (window.attachEvent) window.attachEvent("onload",doIt);