Advertisement
Guest User

Untitled

a guest
Jun 25th, 2016
2,955
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. javascript:var GenerateQueue = function( queueNumber ) { console.log( 'Queue #' + ++queueNumber ); jQuery.post( 'http://store.steampowered.com/explore/generatenewdiscoveryqueue', { sessionid: g_sessionID, queuetype: 0 } ).done( function( data ) { var requests = []; for( var i = 0; i < data.queue.length; i++ ) { requests.push( jQuery.post( 'http://store.steampowered.com/app/10', { appid_to_clear_from_queue: data.queue[ i ], sessionid: g_sessionID } ) ); } jQuery.when.apply( jQuery, requests ).done( function() { if( queueNumber < 3 ) { GenerateQueue( queueNumber ); } else { window.location.reload(); } } ); } ); }; GenerateQueue( 0 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement