FlyerTalk Forums - View Single Post - ITA-Matrix-PowerTools - Userscript for Orbitz/DL/UA/AA/BA/CZ/IB/LA/LH/LX/TK
Old Oct 27, 2014 | 1:16 am
  #3  
paul21
10 Countries Visited20 Countries Visited30 Countries Visited10 Years on Site
 
Join Date: Nov 2012
Location: Minutes from ATL
Programs: DL
Posts: 451
Originally Posted by fuyao
Awesome script and really cool idea!
However, I cant get it working :/

I tried via tampermonkey and greasemonkey as well as through the console in chrome and firefox.

No link gets created, but maybe its just me being too dumb.
When using the cmd line in the console in chrome, I get the following error:

undefined
Uncaught TypeError: Cannot read property 'toUpperCase' of undefined VM7065:2

In firefox I get:
undefined
TypeError: O is undefined


Another side note: Any chance you could include cheaptickets.com as well? Cheaptickets has exactly the same url structure as orbitz but most of the time it prices it a bit cheaper than orbitz and also gives better results when including many tricked routes, thanks!

What language, pricing, airports were you using? First or econ?
The regexp's I wrote are probably sensitive to some things in the airport names like non-us characters and non dollars.

There's also limits to the number of segments via the different methods...
UA seems to support 9-10
ORB/DL seems to support 7-8

Last edited by paul21; Oct 28, 2014 at 11:09 am Reason: Removed code for version control above
paul21 is offline