Last active
March 14, 2023 07:46
-
-
Save gparyani/2bcc29740ab0da5fe38eff84e2a45efd to your computer and use it in GitHub Desktop.
Stack Exchange One-Click Reviews
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Stack Exchange One-Click Reviews | |
// @namespace https://gist.github.com/gparyani/ | |
// @description Review items on Stack Exchange by simply clicking on the review action, rather than having to select and choose Submit | |
// @author gparyani | |
// @version 1.1 | |
// @license GNU General Public License | |
// @match *://*.stackexchange.com/review/* | |
// @match *://*.stackoverflow.com/review/* | |
// @match *://*.superuser.com/review/* | |
// @match *://*.serverfault.com/review/* | |
// @match *://*.stackapps.com/review/* | |
// @match *://*.mathoverflow.net/review/* | |
// @match *://*.askubuntu.com/review/* | |
// @exclude *://*.stackoverflow.com/review/*/stats | |
// @exclude *://*.stackoverflow.com/review/*/history | |
// @exclude *://*.stackoverflow.com/review/ | |
// @exclude *://*.stackexchange.com/review/*/stats | |
// @exclude *://*.stackexchange.com/review/*/history | |
// @exclude *://*.stackexchange.com/review/ | |
// @exclude *://*.superuser.com/review/*/stats | |
// @exclude *://*.superuser.com/review/*/history | |
// @exclude *://*.superuser.com/review/ | |
// @exclude *://*.stackapps.com/review/*/stats | |
// @exclude *://*.stackapps.com/review/*/history | |
// @exclude *://*.stackapps.com/review/ | |
// @exclude *://*.mathoverflow.net/review/*/stats | |
// @exclude *://*.mathoverflow.net/review/*/history | |
// @exclude *://*.mathoverflow.net/review/ | |
// @exclude *://*.serverfault.com/review/*/stats | |
// @exclude *://*.serverfault.com/review/*/history | |
// @exclude *://*.serverfault.com/review/ | |
// @exclude *://*.askubuntu.com/review/*/stats | |
// @exclude *://*.askubuntu.com/review/*/history | |
// @exclude *://*.askubuntu.com/review/ | |
// @homepageURL https://stackapps.com/questions/8892/stack-exchange-one-click-reviews | |
// @updateURL https://gist.github.com/gparyani/2bcc29740ab0da5fe38eff84e2a45efd/raw/4bed058b5186caee606528197981f1b6801313dc/oneclickreview.user.js | |
// @downloadURL https://gist.github.com/gparyani/2bcc29740ab0da5fe38eff84e2a45efd/raw/4bed058b5186caee606528197981f1b6801313dc/oneclickreview.user.js | |
// @grant none | |
// @run-at document-body | |
// @noframes | |
// ==/UserScript== | |
setInterval(function() { | |
var buttons = document.getElementsByClassName("js-action-radio"); | |
for(var i = 0; i < buttons.length; i++) { | |
buttons[i].onclick = function() { | |
var button = document.getElementsByClassName("js-review-submit")[0]; | |
button.disabled = false; | |
button.click(); | |
} | |
} | |
}, 3000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment