Greasy Fork is available in English.
try to take over the world!
当前为
// ==UserScript==
// @name steam探索队列
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the world!
// @author You
// @match http://store.steampowered.com/*
// @match http://store.steampowered.com/explore/
// @grant none
// ==/UserScript==
(function() {
var Count = 0;
var NewQueueDelay = 5000; //开始队列的延迟,ms
var NextGameDelay = 1500; //下一个游戏的延迟
StartNewQueue(NewQueueDelay);
GoToNextGame(NextGameDelay);
function StartNewQueue(Delay){
var NewQueue = document.getElementById("refresh_queue_btn");
if(NewQueue){
window.setTimeout(function() {
NewQueue.click();
},
Delay);
}
}
function GoToNextGame (Delay)
{
window.setTimeout(function() {
var NextGame = document.getElementsByClassName("btn_next_in_queue btn_next_in_queue_trigger");
if(NextGame[0]){
NextGame[0].click();
}},
Delay);
}
})();