Go Back  FlyerTalk Forums > Travel&Dining > Travel Tools
Reload this Page >

New greasemonkey userscript for airport code lookup

Community
Wiki Posts
Search

New greasemonkey userscript for airport code lookup

Thread Tools
 
Search this Thread
 
Old Feb 28, 2007 | 11:41 pm
  #1  
Original Poster
 
Join Date: Oct 2006
Location: SFO
Programs: UA gold, FB emeritus
Posts: 71
New greasemonkey userscript for airport code lookup

Hi all, I've just written a nice userscript that pops a tooltip whenever you point at a IATA airport code with the airport details.

Click here to download and install the script.

To install you will need FireFox and the GreaseMonkey extension, both available for free download.

Last edited by epsalon; Mar 2, 2007 at 12:32 am
epsalon is offline  
Old Mar 1, 2007 | 12:58 pm
  #2  
Tim at WebFlyer
Guest
 
Posts: n/a
epsalon,

This post is not related to Tech issues on the board, I will be moving this topic to the Travel Tech forum. You might want to include more information about your script for people.
 
Old Mar 1, 2007 | 2:25 pm
  #3  
15 Years on Site
 
Join Date: Feb 2006
Posts: 92
Thanks for the script!
sepdfw is offline  
Old Mar 2, 2007 | 9:03 am
  #4  
10 Countries Visited
20 Countries Visited
30 Countries Visited
15 Years on Site
 
Join Date: Aug 2006
Location: AUS
Programs: DL Gold
Posts: 290
Interesting idea, but I would suggest you find an implementation method that does not create and destroy a timer every time the mousemove event is fired! Mousemove may fire for every single pixel that the mouse moves, depending on how fast the pointer is moving. That means that a move of 400px at the required speed would create and destroy 399 timers! All this just to time the hover delay before the tooltip appears?

Also, all of this is unnecessary in ACLHide():

ACLtooltip.innerHTML = ACLdefinitions;
ACLtooltip.style.left = 0 + "px";
ACLtooltip.style.top = 0 + "px";
ACLtooltip.style.width = 0 + "px";
ACLtooltip.style.height = 0 + "px";

... which matters because ACLHide is also called with every mouse move.

Just some thoughts. If you change the implementation to reflect these suggestions, please post here again, because I would like to try out the extension (it'd be nice on these forums!).
mwarden is offline  
Old Feb 2, 2011 | 10:36 am
  #5  
10 Countries Visited
20 Countries Visited
30 Countries Visited
15 Years on Site
 
Join Date: Jan 2008
Posts: 147
Is there a similar script or plugin for chrome users ?
Sandibeck is offline  
Old Feb 2, 2011 | 11:29 am
  #6  
All eyes on you!
20 Years on Site
 
Join Date: Dec 2001
Location: SNA, LAX
Programs: AA EXP
Posts: 1,294
Originally Posted by Sandibeck
Is there a similar script or plugin for chrome users ?
Yes. Same script but install this extionsion - Blank Canvas Script Handler

https://chrome.google.com/webstore/d...hmnpdfpdobpnkk
riteshraja is offline  
Old Feb 2, 2011 | 2:37 pm
  #7  
10 Countries Visited
20 Countries Visited
30 Countries Visited
15 Years on Site
 
Join Date: Jan 2008
Posts: 147
Yes. Same script but install this extionsion - Blank Canvas Script Handler
Hmm - Thank you, but I dont get this to work

I installed the Blank Canvas Script Handler - that worked
Then i installed the airport lookup script - worked also

after that, i edited the script to use the flyertalk site... (add http://...)

There is no function, when i point on a Airport Code,
my system works same as without script
Sandibeck is offline  
Old Feb 2, 2011 | 2:50 pm
  #8  
All eyes on you!
20 Years on Site
 
Join Date: Dec 2001
Location: SNA, LAX
Programs: AA EXP
Posts: 1,294
Originally Posted by Sandibeck
Hmm - Thank you, but I dont get this to work

I installed the Blank Canvas Script Handler - that worked
Then i installed the airport lookup script - worked also

after that, i edited the script to use the flyertalk site... (add http://...)

There is no function, when i point on a Airport Code,
my system works same as without script
Download this and use it as the script file.

http://www.2shared.com/document/kH-QltPY/airports.html

All thanks to Tintagel the developer of the script.
riteshraja is offline  
Old Feb 2, 2011 | 3:31 pm
  #9  
10 Countries Visited
20 Countries Visited
30 Countries Visited
15 Years on Site
 
Join Date: Jan 2008
Posts: 147
Thank you, so much - script works now - GREAT ^
Sandibeck is offline  
Old Mar 13, 2011 | 2:18 pm
  #10  
All eyes on you!
15 Years on Site
 
Join Date: Jul 2009
Location: Washington, DC
Programs: AA Platinum; WN Companion Pass
Posts: 130
Originally Posted by Sandibeck
Thank you, so much - script works now - GREAT ^
Can you guys help me out here? I downloaded all three, but can't get it to work. I also edited the two scripts to add flyertalk.com and the little FT icon shows up in Blank Canvas.
hawaii2midtown is offline  
Old Jun 1, 2014 | 6:23 am
  #11  
All eyes on you!
10 Years on Site
 
Join Date: Sep 2013
Programs: BA Silver, ICH Plat Amb
Posts: 201
Does anyone have an script to pass via PM or email.

userscripts.org has been shutdown for nearly a month, and it doesn't look like it will be coming back
PantsFlyer is offline  
Old May 30, 2015 | 9:55 am
  #12  
A FlyerTalk Posting Legend
10 Countries Visited20 Countries Visited30 Countries Visited20 Years on Site
 
Join Date: Apr 2001
Location: PSM
Posts: 69,232
Just saw this thread referenced elsewhere. I found the old source code and tweaked it a bit. You now have to select the text to get it to load rather than on hover, but it works. Also, I added in ~250 airlines it should also recognize.



https://chrome.google.com/webstore/d...nhkkgjfcaleoo/

http://media.wandr.me/GreaseMonkey/IATA.user.js
sbm12 is offline  
Old May 30, 2015 | 10:09 am
  #13  
 
Join Date: Jan 2015
Posts: 461
Works. You're the bestest ever. Thanks.
Fleck is offline  
Old Jun 2, 2015 | 5:45 pm
  #14  
HMO
100k
20 Countries Visited
All eyes on you!
10 Years on Site
 
Join Date: Jun 2014
Posts: 963
Nice, thanks ^^
HMO is offline  
Old Jun 3, 2015 | 5:39 am
  #15  
All eyes on you!
15 Years on Site
 
Join Date: Nov 2007
Location: HNL
Programs: UA Premier 1K
Posts: 299
Nice job, thanks!
....any way to get this working on Firefox (+ Greasemonkey)?
Mikity is offline  


Contact Us - 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 © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Designated trademarks are the property of their respective owners.