Go Back  FlyerTalk Forums > Miles&Points > Airlines and Mileage Programs > United Airlines | MileagePlus
Reload this Page >

Greasemonkey/Tampermonkey script to display "real" mileages earned and CPM on UA.com

Community
Wiki Posts
Search

Greasemonkey/Tampermonkey script to display "real" mileages earned and CPM on UA.com

Thread Tools
 
Search this Thread
 
Old Mar 27, 2013, 4:54 pm
  #16  
 
Join Date: Aug 2011
Programs: UA 1K
Posts: 8,634
Originally Posted by Darlox
This was actually a matter of some hot debate in my office...

Rather than fight it, I've just added that as a configurable option, and pushed v1.13

In the configurable block at the top, you'll now see a value for "precision". I've left this set to 2 by default. However, if you're so inclined, you can set this to 3, 4 or 15, as you see fit...

Enjoy!
Another option might be to express the number in cents -- fewer zeros that way.
mgcsinc is offline  
Old Mar 27, 2013, 5:16 pm
  #17  
 
Join Date: Nov 2006
Location: SFO South Bay
Programs: UA 2MM
Posts: 3,052
You da man!!

Existing reservations now showing with your data!! Using version 1.13. For those who missed it, it will be right under where the price is listed for the ticket. Also, nice job in taking into account multiple pax on a single record. Well thought out!!

And it even gets the 500 mile minimum! You have defeated United's mighty IT department at their own game!! Even they can't do that!

THANK YOU!!!!!!!!!!!!!!!!!!!!!

Last edited by blueman2; Mar 28, 2013 at 9:21 am
blueman2 is offline  
Old Mar 27, 2013, 7:32 pm
  #18  
 
Join Date: Jul 2010
Location: London, UK
Programs: BA Gold, UA Nobody, Hilton Gold
Posts: 2,372
This is brilliant. Thanks very much.
alex_b is offline  
Old Mar 27, 2013, 8:46 pm
  #19  
 
Join Date: Aug 2010
Location: WAS
Programs: UA 1K MM | Marriott LTT | National Car EE
Posts: 694
my fiancee will now laugh at me even more.

i love it though. =)
eleeut is offline  
Old Mar 27, 2013, 8:49 pm
  #20  
 
Join Date: Apr 2004
Programs: UA 2P, HY Diamond
Posts: 232
Very nice tool. Appreciate it. ^^
efox is offline  
Old Mar 27, 2013, 9:03 pm
  #21  
 
Join Date: Jun 2012
Posts: 177
oh my!! You are rock star!!!

Thanks for the great script!
wanymayold is offline  
Old Mar 28, 2013, 12:13 am
  #22  
 
Join Date: Apr 2005
Location: SFO and HNL
Programs: UA 1K, 2.3MM; AA ExecPlat 1.2MM
Posts: 141
Originally Posted by eleeut
my fiancee will now laugh at me even more.
Nominated for FT post of the week.
130 fsw is offline  
Old Mar 28, 2013, 7:57 am
  #23  
 
Join Date: Jul 2010
Location: London, UK
Programs: BA Gold, UA Nobody, Hilton Gold
Posts: 2,372
Originally Posted by 130 fsw
Nominated for FT post of the week.
How does one do that?
alex_b is offline  
Old Mar 28, 2013, 8:00 am
  #24  
 
Join Date: Aug 2005
Location: NYC, FLL
Programs: UA PP 1MM, Marriott Bonvoy LTTE, BA Gold
Posts: 6,323
You're amazing! Much appreciated.
seanp7 is online now  
Old Mar 28, 2013, 10:28 am
  #25  
 
Join Date: Jul 2007
Location: SAN
Programs: UA MM Gold
Posts: 1,193
Kudos. Rarely flying UA now, but this will be exceptionally helpful when I have to...
nzpilot is offline  
Old Mar 28, 2013, 10:40 am
  #26  
 
Join Date: Aug 2012
Location: Denver
Programs: UA GS, SPG Plat, HHonors Diamond, Marriot Gold, Hertz PC
Posts: 54
Originally Posted by eleeut
my fiancee will now laugh at me even more.
I was thinking the exact same thing...
orff is offline  
Old Apr 19, 2013, 12:58 pm
  #27  
Original Poster
 
Join Date: Feb 2009
Location: CLE
Programs: UA 1K MM, DL Plat
Posts: 982
UPDATE: Added MileagePlus credit card bonus miles into calculations

Dear FT:

Version 1.14 of the script has been released, which includes the option to have the 2 miles-per-$1 bonus for MileagePlus Explorer and Club card holders, included in the RDM calculation.

If you are a cardholder and want to include these bonus miles in the mileage calculations, download the new version and when configuring your preferences, set the "useCreditCard" value to 1. (It is set to zero, by default, in the newly-released version.)

(If you download the new version, be sure to also confirm your Premier level settings are still correct!)

In addition to being included in the total RDM earned calculation, the segment detail will now also include a final line labeled "cc)" for Credit Card, so you can see how the calculation was made.

As always, any feedback or requests for future updates appreciated.

Enjoy!

Last edited by Darlox; Apr 19, 2013 at 1:10 pm
Darlox is offline  
Old Apr 23, 2013, 1:26 pm
  #28  
 
Join Date: Apr 2005
Location: ORD
Programs: AA, UA Plat, HH Gold, Marriott Amb
Posts: 418
Very cool utility!

Any idea why it wouldn't work on the preview.united.com website?



Looking at the script, I would think "*.united.com" would cover the preview website.

It does show the fare codes properly.

Thanks!
mmayer is offline  
Old Apr 23, 2013, 2:20 pm
  #29  
Original Poster
 
Join Date: Feb 2009
Location: CLE
Programs: UA 1K MM, DL Plat
Posts: 982
Originally Posted by mmayer
Very cool utility!
Any idea why it wouldn't work on the preview.united.com website?
Thanks!
No idea... I don't have access to the preview site, so I can't debug it. My guess is that the element names on the preview site are different somehow -- which wouldn't be uncommon between development & production systems -- and that's throwing off the script.

If something changed in Preview hits the live site, we'll update ASAP to get it working again. But I suspect that the failure is in Preview only...
Darlox is offline  
Old Apr 23, 2013, 2:48 pm
  #30  
 
Join Date: Mar 2008
Location: London
Programs: UA GS
Posts: 2,438
Originally Posted by Darlox
No idea... I don't have access to the preview site, so I can't debug it. My guess is that the element names on the preview site are different somehow -- which wouldn't be uncommon between development & production systems -- and that's throwing off the script.

If something changed in Preview hits the live site, we'll update ASAP to get it working again. But I suspect that the failure is in Preview only...
I have access to the preview site and did a tiny big of investigating, and it looks like the preview isn't showing the PQM logic on it. It's just showing the distance and not number of award miles. I hope this isn't how they're going to roll stuff out later or this script is going to be a lot harder to get working!

villox is offline  


Contact Us - Manage Preferences - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

This site is owned, operated, and maintained by MH Sub I, LLC dba Internet Brands. Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Designated trademarks are the property of their respective owners.