steam一键领取免费游戏(喜加N) | 沧水的博客

2018/3/21更新,在脚本中加入了70+个不确定能不能显示到游戏库的游戏,,但在licenses中是显示的

直接放步骤!很简单

1.首先先登录网页steam账号

2.然后打开https://store.steampowered.com/account/licenses/

3.复制代码,更新地址:https://steamdb.info/freepackages/

(function()
{
	if( location.href.match( /^https:\/\/store\.steampowered\.com\/account\/licenses\/?$/ ) === null )
	{
		alert( 'Please run this on Steam\'s account page details: https://store.steampowered.com/account/licenses/' );

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

		return;
	}
	
	var freePackages =
	[
		20944, //  RUSH Demo
		20947, //  Gyromancer Demo
		20948, //  Season of Mystery: The Cherry Blossom Murders Demo
		20949, //  Dungeon Siege III Demo
		20950, //  Painkiller: Resurrection - Demo
		20951, //  Nation Red Demo
		20952, //  Supreme Commander 2 - Demo
		20953, //  Risen - Demo
		20954, //  Lost Horizon - Demo
		20955, //  AI War: Fleet Command - Demo
		20956, //  Tidalis Demo
		20957, //  Sacraboar - Demo
		20958, //  Machinarium Demo
		20959, //  Serious Sam HD: The First Encounter Demo
		20960, //  Hammerfight - Demo
		20961, //  Eufloria - Demo
		20962, //  Altitude - Demo
		20963, //  Death and the Fly - Demo
		20964, //  Dogfighter Demo
		20965, //  Super Laser Racer - Demo
		20966, //  Galcon Fusion Demo
		20967, //  DiRT 2 - Demo
		20968, //  Sol Survivor Demo
		20969, //  Wings of Prey Demo
		20970, //  Fortix - Demo
		20971, //  Fortix 2 - Demo
		20972, //  Swarm Arena Demo
		20973, //  4 Elements - Demo
		20974, //  Mishap: An Accidental Haunting - Demo
		20975, //  Mass Effect 2 Demo
		20976, //  RISK Factions Demo
		20977, //  LIMBO Demo
		20978, //  Might & Magic: Heroes VI - Demo
		20979, //  Mount and Blade Warband - Demo
		20981, //  Pirates of Black Cove - Demo
		20982, //  Magic: The Gathering - Duels of the Planeswalkers Demo
		20983, //  Magic: The Gathering — Duels of the Planeswalkers 2012 - Demo
		20984, //  Beat Hazard Demo
		20985, //  Nimbus Demo
		20986, //  Mafia II - Demo
		20987, //  Max and the Magic Marker - Demo
		20988, //  Flotilla Demo
		20989, //  Air Forte Demo 
		20990, //  NyxQuest Demo
		20991, //  Amnesia: The Dark Descent Demo 
		20992, //  Patrician IV - Demo
		20993, //  Dungeons - Demo
		20994, //  Who's That Flying?! - Demo
		20995, //  Tropico 4 - Demo
		20996, //  Jolly Rover Demo
	];
	
	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( 'Executing…',
	    	'Please wait until all requests finish. Ignore all the errors, let it finish.' );
	
	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( 'Executing…',
						'Loaded ' + loaded + '/' + total + '.' );
				}
			}
		);
	}
}());

4.在浏览器右键点击审查元素或者(检查)找到Console->粘贴代码->回车键执行->喜加N

可以看到,获取了一堆游戏大概有70多个

 

这篇文章有20人发言了呢.

  1. 666666666666666666666啊

    Fata

    1天前

    @Ta
    #1
  2. 为啥都在工具里

    噜啦啦

    2018/10/9

    @Ta
    #2
  3. 。。。。。。。我才得到10多个

    小沫

    2018/10/7

    @Ta
    #3
  4. 显示SyntaxError: ” string literal contains an unescaped line break

    KELLY

    2018/7/25

    @Ta
    #4
  5. 牛逼

    胖胖的小尧哥

    2018/5/17

    @Ta
    #5
  6. 钱包里能看到库里没有 :oops:

    000

    2018/4/2

    @Ta
    #6
    • @

      000

      那是因为有些游戏是免费游戏而不是限时免费的阿那种”购买游戏“

      steam股东

      2018/5/15

      @Ta
  7. 为什么我不行
    Uncaught SyntaxError: Unexpected token if
    :!:

    LEO

    2018/3/28

    @Ta
    #7
  8. 好棒,喜加N呢

    wahoo

    2018/3/12

    @Ta
    #8
  9. 按F12进入Console发现一片红 :eek:

    flappyPanda

    2018/3/4

    @Ta
    #9
  10. :smile: 打码技术不行啊,还是看到了fishman了

    flappyPanda

    2018/3/4

    @Ta
    #10
  11. VPS怎么付费?

    yang137197

    2018/2/7

    @Ta
    #11
  12. :?: 感谢感谢,激活了WIN10

    王能武

    2018/2/4

    @Ta
    #12
  13. 已收货,五星好评,东西很棒,店家很好

    2018/2/2

    @Ta
    #13
  14. 已收货,五星好评,东西很棒,店家很好

    ……

    2018/2/1

    @Ta
    #14

发表评论



Copyright 2017 沧水的博客. All Rights Reserved.
湘ICP备17021400号-1托管于腾讯云中国律法保护