User:Woodstop45/OCASummary.js

importScript('User:Equazcion/OneClickArchiver.js');

$(function{  var promptSummary = function  {        var summary = prompt("OneClickArchiver archived 1 discussion to ' + archiveName + '");        if (summary === null || summary === "") return false;        if (summary == "OneClickArchiver archived 1 discussion to ' + archiveName + ''") return true;        this.href = this.href.replace("?", "?summary=" + encodeURIComponent(summary) + "&");     };   $('a.archiverlink').click( promptSummary ); });