L3n1n
11/22/2018 - 1:59 PM

Steam Award Nominations Badge 2018 #steam

Steam Award Nominations Badge 2018 #steam

// ==UserScript==
// @name         Steam Award Nominations 2018
// @namespace    https://gist.githubusercontent.com/L3n1n
// @version      0.1
// @description  Automatic voting
// @author       L3n1n
// @match        *://store.steampowered.com/SteamAwardNominations
// @updateURL    https://gist.githubusercontent.com/L3n1n/7d5a036c5674dcad5d1ee823aa5cde94/raw
// @downloadURL  https://gist.githubusercontent.com/L3n1n/7d5a036c5674dcad5d1ee823aa5cde94/raw
// ==/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,
	});
};