 // @require https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
 //
 // @match *://fireflowergames.com/my-lists/*
-// @match *://flyingbundle.com/users/account
-// @match *://www.flyingbundle.com/users/account
+// @match *://flyingbundle.com/users/account*
+// @match *://www.flyingbundle.com/users/account*
 // @match *://www.gog.com/account*
 // @match *://www.gog.com/order/status/*
 // @match *://groupees.com/purchases*

# Callback for the button
scrapeGames = (scraper_obj) ->
  params = {
    json: JSON.stringify(scraper_obj.game_list()),
    source: scraper_obj.source_id
  }

  url = if scraper_obj.is_wishlist?
    'https://isthereanydeal.com/outside/user/wait/3rdparty'
  else
    'https://isthereanydeal.com/outside/user/collection/3rdparty'

  # **TODO:** Figure out why attempting to use an iframe for non-HTTPS sites
  # navigates the top-level window.

### IsThereAnyDeal.com Collection Importer
// ==UserScript==
// @name IsThereAnyDeal.com Collection Importer
// @version 0.1b17
// @namespace http://isthereanydeal.com/
// @description Adds buttons to various sites to export your game lists to ITAD
// @icon http://s3-eu-west-1.amazonaws.com/itad/images/banners/50x50.gif
