Script for greasemonkey + ITA Matrix
Main discussion thread at FlyerTalk Forums
- Double check your chosen flights before purchasing
- Some providers have limited support
- Current translations for the powertools interface: English, Deutsch
- General statement regarding this script
- How to fix class names yourself: class names should now be updated in itaSettings.js
- Problems and limitations regarding pricing itineraries
Method 1: Browser Extension
- Chrome: Chrome Web Store
- Firefox (and Firefox for Android): Firefox Add-ons
- Microsoft Edge: Microsoft Edge Addons
- Opera: Opera Addons
Method 2: As a UserScript
Step 1: Install a script manager
- Chrome: Tampermonkey or Violentmonkey
- Firefox: Greasemonkey, Tampermonkey, or Violentmonkey
- Safari: Tampermonkey
- Microsoft Edge: Tampermonkey
Step 2: Install the script
See the FAQ of your script manager how to install the script.
- Through GreasyFork
- Through OpenUserJS
- Through GitHub: you should be asked whether you want to install it - make sure your script manager is running.
Method 3: Console/Debug mode
You need to access the command line of your browser to execute the script. You can use either the regular version or the minified version. Just copy and paste the entire text.
- Using debug console, you may use the shortened minified version. (Note: there is no need to re-execute the script on pagechange unless you reloaded the page)
- Installing via a userscript manager simplifies saving your settings between sessions
- You can also create a Bookmarklet by creating a Bookmark or Favorite in your browser with the following code as the URL:
javascript:var scr=document.createElement('script');scr.src='https://rawgit.com/adamhwang/ita-matrix-powertools/master/script_minified.js';document.body.appendChild(scr);
ita-matrix-powertools.user.js
-- Main userscript, install using a browser userscript manager (such as Greasemonkey or Tampermonkey) or utilize directly in your browser's debug console.script_minified.js
-- Compact, paste-able version of the script for pasting in the debug console.
- Fork it!
- Run
npm install
to install dependencies - Update javascript files
./src
(the main userscript is now auto-generated) - Add change log
- Bump version number with
npm version [major|minor|patch]
(this automatically runs a build as well) - Commit and create PR
Thanks to all that have contributed so far!