Skip to content

Instantly share code, notes, and snippets.

@NVHT
Forked from Asbra/Steam-Upvoter.user.js
Last active November 7, 2023 14:02
Show Gist options
  • Save NVHT/4d7c0c37bc2175c6a7f70935fa016ce3 to your computer and use it in GitHub Desktop.
Save NVHT/4d7c0c37bc2175c6a7f70935fa016ce3 to your computer and use it in GitHub Desktop.
Steam Upvoter
// ==UserScript==
// @name Steam Upvoter
// @version 2.0
// @description Automatically upvote content on Steam Community Activity Feed
// @author NVHT
// @include http*://*steamcommunity.com/id/*/home*
// @icon https://steamcommunity.com/favicon.ico
// @updateURL https://gist.github.com/NVHT/4d7c0c37bc2175c6a7f70935fa016ce3/raw/98fc6b17d4b17861d1dce94711a75cc1b5dbb52a/Steam-Upvoter.user.js
// ==/UserScript==
voteUpAll = null,
function(t) {
voteUpAll = function() {
t(".btn_grey_grey").each(function(e, n) {
t(n).hasClass("active") || !n.id.startsWith("vote_up_") && !n.id.startsWith("VoteUpBtn_") || n.click()
})
}, Blotter_InfiniteScrollingCheckForMoreContent_org = Blotter_InfiniteScrollingCheckForMoreContent, Blotter_InfiniteScrollingCheckForMoreContent = function(t) {
Blotter_InfiniteScrollingCheckForMoreContent(t), voteUpAll()
}, voteUpAll()
}(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment