Skip to content

Instantly share code, notes, and snippets.

@howar31
Last active June 25, 2022 04:33
Show Gist options
  • Save howar31/d0b1a253fef77c9ea0a38644206d89fa to your computer and use it in GitHub Desktop.
Save howar31/d0b1a253fef77c9ea0a38644206d89fa to your computer and use it in GitHub Desktop.
Go to https://store.steampowered.com/sale/clorthax_quest and paste the script into devtool (F12/Ctrl Shift I/Cmd Shift I)
let delay = (ms) => new Promise((res) => setTimeout(res, ms));
await jQuery.post("/saleaction/ajaxopendoor", {
sessionid: g_sessionID,
authwgtoken: jQuery("#application_config").data("userinfo").authwgtoken,
door_index: 0,
clan_accountid: 41316928,
});
var i = 1;
for (let link of [
"/category/arcade_rhythm/?snr=1_614_615_clorthaxquest_1601",
"/category/strategy_cities_settlements/?snr=1_614_615_clorthaxquest_1601",
"/category/sports/?snr=1_614_615_clorthaxquest_1601",
"/category/simulation/?snr=1_614_615_clorthaxquest_1601",
"/category/multiplayer_coop/?snr=1_614_615_clorthaxquest_1601",
"/category/casual/?snr=1_614_615_clorthaxquest_1601",
"/category/rpg/?snr=1_614_615_clorthaxquest_1601",
"/category/horror/?snr=1_614_615_clorthaxquest_1601",
"/vr/?snr=1_614_615_clorthaxquest_1601",
"/category/strategy/?snr=1_614_615_clorthaxquest_1601",
]) {
try {
let html = await jQuery.get(link);
await jQuery.post("/saleaction/ajaxopendoor", {
clan_accountid: 41316928,
sessionid: g_sessionID,
authwgtoken: jQuery("#application_config", html).data("userinfo").authwgtoken,
door_index: jQuery("#application_config", html).data("capsuleinsert").payload,
datarecord: jQuery("#application_config", html).data("capsuleinsert").datarecord,
});
console.log("Get badges successfully: " + i);
i++;
} catch (e) {
console.log("Get badges failed: " + i);
console.warn(e);
i++;
} finally {
await delay(1500);
}
}
@howar31
Copy link
Author

howar31 commented Jun 25, 2022

Unlock Steam Summer Sale 2022 Clorthax's Quest Script

  1. Go to https://store.steampowered.com/sale/clorthax_quest
  2. Open browser DevTools by pressing
    • F12
    • or CTRL + SHIFT + I
    • or CMD + SHIFT + I
  3. Switch to Console tab
  4. Paste the script into Console tab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment