/** @preserve // ==UserScript== // @name AutoReviewComments // @namespace benjol // @version 1.3.3.2 // @description No more re-typing the same comments over and over! // @homepage https://github.com/Benjol/SE-AutoReviewComments // @grant none // @include http*://*stackoverflow.com/questions* // @include http*://*stackoverflow.com/review* // @include http*://*stackoverflow.com/admin/dashboard* // @include http*://*stackoverflow.com/tools* // @include http*://*serverfault.com/questions* // @include http*://*serverfault.com/review* // @include http*://*serverfault.com/admin/dashboard* // @include http*://*serverfault.com/tools* // @include http*://*superuser.com/questions* // @include http*://*superuser.com/review* // @include http*://*superuser.com/admin/dashboard* // @include http*://*superuser.com/tools* // @include http*://*stackexchange.com/questions* // @include http*://*stackexchange.com/review* // @include http*://*stackexchange.com/admin/dashboard* // @include http*://*stackexchange.com/tools* // @include http*://*askubuntu.com/questions* // @include http*://*askubuntu.com/review* // @include http*://*askubuntu.com/admin/dashboard* // @include http*://*askubuntu.com/tools* // @include http*://*answers.onstartups.com/questions* // @include http*://*answers.onstartups.com/review* // @include http*://*answers.onstartups.com/admin/dashboard* // @include http*://*answers.onstartups.com/tools* // @include http*://*mathoverflow.net/questions* // @include http*://*mathoverflow.net/review* // @include http*://*mathoverflow.net/admin/dashboard* // @include http*://*mathoverflow.net/tools* // @include http*://discuss.area51.stackexchange.com/questions/* // @include http*://discuss.area51.stackexchange.com/review* // @include http*://discuss.area51.stackexchange.com/admin/dashboard* // @include http*://discuss.area51.stackexchange.com/tools* // @include http*://stackapps.com/questions* // @include http*://stackapps.com/review* // @include http*://stackapps.com/admin/dashboard* // @include http*://stackapps.com/tools* // ==/UserScript== */ function with_jquery(f) { var script = document.createElement("script"); script.type = "text/javascript"; script.textContent = "(" + f.toString() + ")(jQuery)"; document.body.appendChild(script); }; with_jquery(function ($) { StackExchange.ready(function () { //// Self Updating Userscript, see https://gist.github.com/Benjol/874058 // (the first line of this template _must_ be a comment!) var VERSION = '1.3.3.2'; var URL = "https://raw.github.com/alerque/SE-AutoReviewComments/auto_site_remotes/dist/autoreviewcomments.user.js"; // This hack is necessary to bring people up from the last working auto-uptate gist // release if they manually installed the latest version. (can be removed after some // time has passed and last released version is at least 1.3.4) for (var key in window) { if (key.indexOf('selfUpdaterCallback') != -1) { window[key](VERSION); return; } } // End hack if(window["AutoReviewComments_AutoUpdateCallback"]) { window["AutoReviewComments_AutoUpdateCallback"](VERSION); return; } function updateCheck(notifier) { window["AutoReviewComments_AutoUpdateCallback"] = function (newver) { if(newver > VERSION) notifier(newver, VERSION, URL); } $("