AA CPM Extension

NOTE: Given modifications to aa.com, the AA CPM Extension is no longer functional. I have posted the code to GitHub in case anyone would like to take over development. Please contact me via FlyerTalk or Twitter if you do.


Current version: 1.1.3 (20 May 2011)

Download

Safari


Install NinjaKit, then install the AA CPM script from userscripts.org.

Firefox


Install GreaseMonkey, then install the AA CPM script from userscripts.org.

Chrome


Download and install at the Google Chrome Extensions Gallery.

Description

Cents per mile (CPM) is a common indicator of good value for the frequent flier community when purchasing airline tickets. This extension will compute the CPM for the cheapest economy fares listed on American Airlines’ Price & Schedule matrix at aa.com.

Disclaimer: This extension has been developed by Kyle Duarte, and is in no way provided or supported by American Airlines.

Functionality

The extension will only run on the Price & Schedule matrix pages at aa.com, and will only compute CPMs for the Economy Super Saver fare column (the left-most one).

The extension assumes distances from GPS coordinates of airports (which may vary slightly from AA’s official flight distances), and adds $9.95 in taxes per segment, up to two segments for those customers purchasing in dollars. Obviously, this assumption is inaccurate for flights to/from AK, HI, PR, USVI, and abroad, but still provides a general guide to compare CPMs by itinerary.

Screenshot

Discussion & Help

Discussion and help are available at FlyerTalk

Changelog

Version 1.1.3

  • Fixed NaN errors when an airport was not in the database

Version 1.1.2

  • Firefox support added through GreaseMonkey

Version 1.1.1

  • dojo is now *completely* removed

Version 1.1.0

  • dojo is buggy when used in Chrome extensions; replaced with jQuery
  • Turned off $9.95 tax/segment addition for UK users

Version 1.0.1

  • Fixed bug where “Not Available” fares would cause other CPMs to not be calculated

One thought on “AA CPM Extension”

  1. Hey Kevin, thanks for developing this Extension! I would love to make one for UA’s site and, ideally, ITA Matrix; Any chance you’re willing to post your code to a public repo on Github, so I can branch it to make Extensions for the other sites?

    Thanks again, and all the best,
    Luke (LukeRB on FT)

Leave a Reply

%d