User:Walrus068/nuts.js

//spam or no spam if (wgAction == 'edit') { $(document).ready(function {       if (window.location.search.match(/&spam=yes/)) {            $('input#wpSave').click;        }        else if (window.location.search.match(/&nospam=yes/)) {            $('input#wpDiff').click;        }    }); }