一键steam挂卡linux,steam一键添加免费游戏挂卡

在网页版steam的账户明细中打开f12的控制台输入如下代码即可,可以根据需要修改游戏id

(function()

{

if( location.href.match( /^https:\/\/store\.steampowered\.com\/account\/licenses\/?$/ ) === null )

{

alert( '请在Steam帐号明细页面运行这些代码: https://store.steampowered.com/account/licenses/' );

window.location = 'https://store.steampowered.com/account/licenses/';

return;

}

var freePackages =

[

//本体

39166,//Heroine's Quest: The Herald of Ragnarok

13261,//RACE 07: Andy Priaulx Crowne Plaza Raceway

32032,//Portal 2 Sixense Perceptual Pack

59373,//Penumbra: Necrologue

33694,//Grimm&Episode 1 - A Boy Learns What Fear Is

88162,//Romance of the Three Kingdoms Maker

36561,//Serena

58514,//Voxelized

117526,//Amnesia: Final Revelations

//dlc

85604,//RTK Maker - Face CG “RTK13” Set / 三国志ツクール顔登録素材 『三國志13』セット+シナリオ

21478,//Free to Play免费本体

50861,//Free to Play Soundtrack

21473,//Prime World免费本体

31538,//Prime World - Prime Machine

32287,//Z3TA+ 2 - Polybius 8-bit Game Pack

38085,//Saints Row IV - Reverse Cosplay Pack

72261,//The Secret of Tremendous Corporation免费本体

81026,//The Sources of Tremendous Corporation

47333,//Aura Kingdom免费本体

38820,//Aura Kingdom - Winter Gift

69802,//Fuse免费本体

60341,//Fuse - Free Brute Character Pack

21416,//Elsword免费本体

63207,//Time Tracer's DLC Package

59253,//Vindictus - New User Package

//软件&工具

35063,//Star Swarm Stress Test

74465,//Arma 3 Samples

];

var ownedPackages = {};

jQuery( '.account_table a' ).each( function( i, el )

{

var match = el.href.match( /javascript:RemoveFreeLicense\( ([0-9]+), '/ );

if( match !== null )

{

ownedPackages[ +match[ 1 ] ] = true;

}

} );

var i = 0,

loaded = 0,

package = 0,

total = freePackages.length,

modal = ShowBlockingWaitDialog( '努力执行中...',

'请耐心等待,如果有错误请无视,请耐心等待脚本加载完毕' );

for( ; i < total; i++ )

{

package = freePackages[ i ];

if( ownedPackages[ package ] )

{

loaded++;

continue;

}

jQuery.post(

'//store.steampowered.com/checkout/addfreelicense',

{

action: 'add_to_cart',

sessionid: g_sessionID,

subid: package

}

).always( function( )

{

loaded++;

modal.Dismiss();

if( loaded >= total )

{

location.reload();

}

else

{

modal = ShowBlockingWaitDialog( '执行中...',

'加载至 ' + loaded + '/' + total + '.' );

}

}

);

}

}());

本文地址:https://blog.csdn.net/qq_35543858/article/details/107350889

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值