User:Jim Carter/scripts/WPIndiaNoticeboard.js

addOnloadHook(INBTalkback); function INBTalkback { if(wgPageName == "Wikipedia talk:INB" && document.getElementById("editform") !=null) { document.getElementById("wpSave").onclick = INBHandler; } } function INBHandler { if(!(document.getElementById("wpMinoredit").checked)) { alert("Remember to leave a Talkback template!"); } }