User:JetCrusherTorpedo/wikia.js

$("form#editform").bind("submit", function( event ) { //detect any stupid mistakes I've made

//How to stop form from submitting: event.preventDefault; event.stopImmediatePropagation; alert("Hello") //How to auto-click the diff link: $("a#wpDiff").click; });   var events = $._data($("form#editform")[0], 'events').submit;    events.unshift(events.pop);