Collection Import Script for IsThereAnyDeal.com
This userscript adds "Export to ITAD" buttons to online game vendors who do
not provide a way for sites like IsThereAnyDeal.com to query user game lists
and wishlists remotely.
It is currently in beta and any bugs should be reported in the
issue tracker.
Currently supported vendors are:
See the screenshot sheet for a reference as to where the added buttons should appear.
Installation
- Install Greasemonkey
in Firefox
(Tampermonkey
in Chrome should also work but hasn't yet been tested)
- Restart Firefox
- Install the userscript
(Installation via GreasyFork is recommended to ensure automatic updates
function as reliably as possible.)
Development
The authoritative copy of this script is the
CoffeeScript source file. Patches against the
generated JavaScript may or may not be accepted at the developers' discretion.
(We have to rewrite them in CoffeeScript, so they'll have to be worthwhile.)
At the moment, the official method for developing this script has yet to be
updated for Quantum-era Firefox and is as follows:
- On a Unixy machine (eg. Linux), install Firefox 52 ESR and a version of
Greasemonkey old enough to store its scripts as bare files on disk.
- Install the release version
of the script in Firefox
- Install Node.js
- Run
npm install
- Run
npm run-script develop
- Saving changes to the CoffeeScript source will now regenerate the copy of
the script installed in Firefox.
- When you're finished, hit Enter
- The development script will regenerate the in-repository JavaScript and code
documentation before exiting.
- Commit the updated built files.
However, if you do not have a Unixy machine handy, this quick and dirty method
can also be used:
- Open http://coffeescript.org/
- Open the "Try CoffeeScript" tab.
- Use the browser's Developer Tools to add a
contentEditable
attribute to the <pre>
tag for the right pane so you can use
Ctrl+A followed by Ctrl+C to
quickly copy everything.
- Install the
release version
of the script and use Greasemonkey's edit button to open up the version it's
using so you can test changes simply by copying JS from "Try CoffeeScript" to
the editor, saving, and reloading the page in the browser.
- Use the "Try CoffeeScript" button to switch back and forth between
code and reference materials.