Skip to content

Instantly share code, notes, and snippets.

@L3n1n
Last active May 26, 2022 00:42
Show Gist options
  • Save L3n1n/7d5a036c5674dcad5d1ee823aa5cde94 to your computer and use it in GitHub Desktop.
Save L3n1n/7d5a036c5674dcad5d1ee823aa5cde94 to your computer and use it in GitHub Desktop.
Steam Award Nominations Badge 2018
// ==UserScript==
// @name Steam Award Nominations 2018
// @namespace https://gist.github.com/L3n1n
// @version 0.2
// @description Automatic voting
// @author L3n1n
// @match *://store.steampowered.com/SteamAwardNominations
// @updateURL https://gist.githubusercontent.com/L3n1n/7d5a036c5674dcad5d1ee823aa5cde94/raw/SteamAwardNominations2018.user.js
// @downloadURL https://gist.githubusercontent.com/L3n1n/7d5a036c5674dcad5d1ee823aa5cde94/raw/SteamAwardNominations2018.user.js
// ==/UserScript==
ShowBlockingWaitDialog("Nominating...","");
var Nominations = [
379430,
438100,
351940,
32942828,
542050,
717690,
323190,
244850
];
Nominations.forEach(function(Element,Index){
setTimeout(NominationPost,Index*500,Element,Index+1);
});
setTimeout(function(){
document.location.href = "//store.steampowered.com/SteamAwardNominations/";
}, (Nominations.length+3)*500);
function NominationPost(AppId,CategoryId) {
$J.post('//store.steampowered.com/steamawards/nominategame',{
sessionid: g_sessionID,
nominatedid: AppId,
categoryid: CategoryId,
source: 3,
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment