Created
January 10, 2018 08:26
-
-
Save peter-hank/4049962c8ccd3abefa42e58bdd4a5266 to your computer and use it in GitHub Desktop.
Reddit multi-upvote for Greasemonkey
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 Reddit multi-upvote | |
// @description Upvotes submissions and comments | |
// @include https://www.reddit.com/r/url1* | |
// @include https://www.reddit.com/r/url2* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
// submissions only | |
// var divs = document.querySelectorAll('.thing .arrow.up.login-required'); | |
var divs = document.querySelectorAll('.arrow.up.login-required'); | |
[].forEach.call(divs, function(div) { | |
div.click(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment