steam夏日特卖游戏活动火热进行中,有各种优惠或是免费的游戏可以获取,其中有个夏促徽章和夏促猜谜获取相应游戏,这里给大家带来了一个傻瓜式的代码解锁方法,详情一起来看下这篇steam夏促徽章2022解锁方法吧。
夏促徽章2022解锁方法前提:必须网页版官网。
友情提醒,记得先登入,接任务,再按下面内容进行,最后徽章要手动获取。
任意steam网页页面按f12打开控制台,粘贴下列代码按回车等待即可,转自steamdb
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,
});
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", {
"sessionid": g_sessionID,
"authwgtoken": jQuery("#application_config", html).data("userinfo").authwgtoken,
"door_index": jQuery("#application_config", html).data("capsuleinsert").payload,
"clan_accountid": 41316928,
"datarecord": jQuery("#application_config", html).data("capsuleinsert").datarecord,
});
console.log("You got a new badge!");
} catch (e) {
console.error("Failed to obtain badge!", e);
} finally {
await delay(1500);
}
}
啥都不用干,等一会会就行了。