Skip to content

Instantly share code, notes, and snippets.

@Asbra
Last active September 14, 2022 11:09
Show Gist options
  • Save Asbra/3126c8737e22392722f5 to your computer and use it in GitHub Desktop.
Save Asbra/3126c8737e22392722f5 to your computer and use it in GitHub Desktop.
Steam Community auto rate up
// ==UserScript==
// @name Steam Community auto rate up
// @version 1.0
// @description Automatically upvote content on Steam Community Activity Feed
// @author Asbra
// @include http*://*steamcommunity.com/id/*/home*
// @homepage https://gist.github.com/Asbra/
// @updateURL https://gist.github.com/Asbra/3126c8737e22392722f5/raw/Steam-Upvoter.user.js
// ==/UserScript==
voteUpAll = null;
(function($J){
voteUpAll = function() {
$J(".btn_grey_grey").each(function(i,e){
if (!$J(e).hasClass('active') && (e.id.startsWith("vote_up_") || e.id.startsWith("VoteUpBtn_"))) {
e.click();
}
});
};
Blotter_InfiniteScrollingCheckForMoreContent_org = Blotter_InfiniteScrollingCheckForMoreContent;
Blotter_InfiniteScrollingCheckForMoreContent = function(url) {
Blotter_InfiniteScrollingCheckForMoreContent(url);
voteUpAll();
};
voteUpAll();
}(jQuery));
@Mooddiee
Copy link

Hey, I know you made this 2 years ago, but does it still work? It's not working for me

@DjKaijin
Copy link

@Mooddiee: To make it work do the following, in the code, the line
// @include http*://steamcommunity.com/id//home

change it to

// @include http*://steamcommunity.com/id//home*

Just add the * in the end, save and it's working.

@Asbra
Copy link
Author

Asbra commented Dec 22, 2017

Thanks for your feedback, made the change in the script now

@erpadmin
Copy link

im using similar code for filtering, but it looks like Blotter_InfiniteScrollingCheckForMoreContent is no longer defined? (latest firefox)

@edcba1057344
Copy link

It doesn't work anymore. I'll be waiting for updates.

@ChrisTJie
Copy link

waiting for updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment