Steam store auto add to cart game
use it for steam trading card farm
How does it work?
- link.php explode and find link from link.txt and next open all link in web browser
- install Tampermonkey on your web browser then add this code for automate add game to cart (tempermonkey.txt)
// ==UserScript==
// @name auto click
// @namespace http://tampermonkey.net/
// @version 1.9
// @description auto click pay button
// @match *://*/*
// @author peter
// @grant none
// ==/UserScript==
//setTimeout(beginclick,30000);
function simulateClick(obj) {
var evt = document.createEvent("MouseEvents");
evt.initMouseEvent("click", true, true, window,
0, 0, 0, 0, 0, false, false, false, false, 0, null);
var canceled = !obj.dispatchEvent(evt);
}
var whats = document.getElementsByName('subid')[0].value;
var name ='a[id="btn_add_to_cart_'+whats+'"]';
var what = document.querySelector(name);
simulateClick(what);
How add link to link.txt?
add all game you want to cart then copy html section(web browser inspect element)
<div class="cart_item_list">
all html code between this section
</div>
and past in to the link.txt