Skip to content

Instantly share code, notes, and snippets.

@NVHT
Forked from Asbra/Steam-Upvoter.user.js
Last active March 13, 2026 17:06
Show Gist options
  • Select an option

  • Save NVHT/4d7c0c37bc2175c6a7f70935fa016ce3 to your computer and use it in GitHub Desktop.

Select an option

Save NVHT/4d7c0c37bc2175c6a7f70935fa016ce3 to your computer and use it in GitHub Desktop.
Steam Upvoter
// ==UserScript==
// @name Steam Upvoter
// @version 2.1
// @description Automatically upvote content on Steam Community Activity Feed
// @author NVHT
// @match https://steamcommunity.com/id/*/home*
// @icon https://steamcommunity.com/favicon.ico
// @grant none
// ==/UserScript==
(function () {
'use strict';
const $ = window.jQuery;
if (!$) return;
function voteUpAll() {
$('.btn_grey_grey').each((_, btn) => {
if (
!btn.classList.contains('active') &&
(btn.id.startsWith('vote_up_') ||
btn.id.startsWith('VoteUpBtn_'))
) {
btn.click();
}
});
}
const originalScrollFn = window.Blotter_InfiniteScrollingCheckForMoreContent;
if (typeof originalScrollFn === 'function') {
window.Blotter_InfiniteScrollingCheckForMoreContent = function (...args) {
originalScrollFn.apply(this, args);
voteUpAll();
};
}
voteUpAll();
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment