Skip to content

adamhwang/ita-matrix-powertools

 
 

Repository files navigation

ita-matrix-powertools

Script for greasemonkey + ITA Matrix

Main discussion thread at FlyerTalk Forums

Notice

- Double check your chosen flights before purchasing
- Some providers have limited support
- Current translations for the powertools interface: English, Deutsch

Posts you should read

  1. General statement regarding this script
  2. How to fix class names yourself: class names should now be updated in itaSettings.js
  3. Problems and limitations regarding pricing itineraries

Installation

Method 1: Browser Extension

Method 2: As a UserScript

Step 1: Install a script manager

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: iOS Safari Shortcut

Get the "Add ITA Matrix Powertools" Shortcut

Instructions must be run each time

  • Open ITA Matrix in Safari on your iPhone or iPad
  • Tap on the Share button in the bottom navigation
  • Scroll down through all the actions
  • Select Add ITA Matrix Powertools

Method 4: 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.

Tips

  • 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%20scr=document.createElement('script');scr.src='https://cdn.jsdelivr.net/gh/adamhwang/ita-matrix-powertools/script_minified.js';document.body.appendChild(scr);

ITA Buy Bookmarklet example GIF

Files

  • 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.

Contribution Guide

  1. Fork it!
  2. Run npm install to install dependencies
  3. Update javascript files ./src (the main userscript is now auto-generated)
  4. Add change log
  5. Bump version number with npm version [major|minor|patch] (this automatically runs a build as well)
  6. Commit and create PR

Thanks to all that have contributed so far!

Latest major changes

Refer to the Changelog