From 44dc4e3c7c7c2490e9fbe6c5e6511e9b44da6fce Mon Sep 17 00:00:00 2001 From: Laurvin Date: Thu, 4 Apr 2019 21:43:43 +0200 Subject: [PATCH] Update Steamgifts_GA_creator.user.js --- Steamgifts_GA_creator.user.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Steamgifts_GA_creator.user.js b/Steamgifts_GA_creator.user.js index 14fc95a..c9adeb7 100644 --- a/Steamgifts_GA_creator.user.js +++ b/Steamgifts_GA_creator.user.js @@ -3,7 +3,7 @@ // @namespace http://akhanubis.com/ // @author Pablo Bianciotto (updated by Laurvin) // @description Allows creation of multiple GAs at the same time (See https://greasyfork.org/en/scripts/14840-steamgifts-ga-creator for the original.) -// @version 0.2 +// @version 0.21 // @icon http://i.imgur.com/XYzKXzK.png // @downloadURL https://github.com/Laurvin/Steamgifts-GA-creator/raw/master/Steamgifts_GA_creator.user.js // @match http://www.steamgifts.com/giveaways/new @@ -59,9 +59,9 @@ if (!form.find('#games_textarea').length) { $(document).on('ajaxSuccess.batch', function(e, xhr, settings) { if (settings.data.match(/do\=autocomplete_giveaway_game/)) { - var result = JSON.parse(xhr.responseText).html.match('
\
\
\ - This section has been added by Steamgifts GA creator (info).\ + This section has been added by Steamgifts GA creator (info).\
\ 1 game per line. Example:\
\