linhongjun / SteamDiscoveryQueue

// ==UserScript==
// @name         SteamDiscoveryQueue
// @version      0.1
// @description  null
// @author       You
// @include      http*://store.steampowered.com/app/*
// @grant        none
// ==/UserScript==

// Your code here...

var refreshQueueBtn = document.getElementById('refresh_queue_btn');
if (refreshQueueBtn != null)
    refreshQueueBtn.children[0].click();

var nextInQueueForm = document.getElementById('next_in_queue_form');
if (nextInQueueForm != null)
    nextInQueueForm.submit();