jQuery.post('https://store.steampowered.com/saleaction/ajaxopendoor', {
'sessionid': g_sessionID,
'authwgtoken': jQuery('#application_config').data('userinfo').authwgtoken,
'door_index': jQuery('#application_config').data('capsuleinsert').payload,
'clan_accountid': 41316928,
'datarecord': jQuery('#application_config').data('capsuleinsert').datarecord
}).done(() => {alert('You got a new badge!'); window.location = "https://store.steampowered.com/sale/clorthax_quest"}).fail(() => alert('Failed to obtain badge!'))