User:JetCrusherTorpedo/wikia.js

function archivePage { alert(location1.sub(0,location1.length-11)) var location1 = location.href xmlhttp=new XMLHttpRequest; xmlhttp.open("GET",'http://web.archive.org/save/'+location1.sub(0,location1.length-11),true); xmlhttp.send; }

$("form#editform").bind("submit", function( event ) { archivePage

}); var events = $._data($("form#editform")[0], 'events').submit;  events.unshift(events.pop);