User:Rich Farmbrough/Scripts/teahouseTalkback.js

addOnloadHook(teahouseTalkback); function teahouseTalkback {   if(wgPageName == "Wikipedia:Teahouse/Questions" && document.getElementById("editform") != null) {        document.getElementById("wpSave").onclick = teahouseHandler; } } function teahouseHandler {	if(!(document.getElementById("wpMinoredit").checked)) {		alert("Remember to leave a Teahouse Talkback template!"); } }