Mouseover Airport information Available in Posts for FireFox users

Status
Not open for further replies.

serfty

Veteran Member
Moderator
Joined
Nov 16, 2004
Posts
46,540
Qantas
Platinum
Virgin
Platinum
For those using FireFox with the Greasemonkey Add-on, there is a script set up for FlyerTalk that will show a 'tool-tip' like pop up for airport codes within posts, profile and forum displays.

This script is call "Airports" and the FT thread with information on where to find it is here:


Will a little editing this can be used to do the same for AFF posts. (There is one issue and it's to do with 3 caps character strings in URL's)

  • Right Click on the GreaseMonkey Icon or Select Tools, then Greasemonkey,
  • Select "Manage user scripts...
  • Highlight "Airports"
  • Click the "Edit" button below.
  • Add a line below the following line:
    // @include [noparse]http://*flyertalk.com/forum*/*[/noparse]
    with the text:
    // @include [noparse]http://*frequentflyer.com.au/*[/noparse]
  • Add the following line right at the bottom:
    makeTooltip("//div[starts-with(@class, 'content')]/div"); // AFF post body
  • Save changes and exit.
That's it! Done! Now if you mouse over a 3 character airport code in an AFF post subsequently loaded, if it's listed, a red pop up will appear with details of the airport.

Test: MEL, MLB, YVR, FCO, MCO
 
Last edited:
Good find serfty!

There's a small bug though as the script does not apply to the first post. To fix, the line at the bottom should be
Code:
makeTooltip("//div[starts-with(@class, 'content')]/div"); // AFF post body
Also, you forgot to mention that the frequentflyer url should be added to the Included Pages section.
 
works for me ;)

Thanks for the tip (and the additional information Techie )
 
Thanks for the the tips techie - of course, I forgot to mention on needs to "// @include" AFF :p

FWIW, I've been using this with AFF for some time - new vBulliten version necessitated some change so I decided to share while I was at it ... :D
 
One thing I've noticed is that if you have to copy'n'paste stuff from a thread elsewhere, then it also copies the airport name etc.

Expected behaviour I think.
 
One thing I've noticed is that if you have to copy'n'paste stuff from a thread elsewhere, then it also copies the airport name etc.

Expected behaviour I think.
I've noticed this as well. It can be a pain, especially if copying a xONEx routing into Mileage Monkey. I can always make the little Monkey sad and grey before refreshing to do things like this.
 
The Frequent Flyer Concierge team takes the hard work out of finding reward seat availability. Using their expert knowledge and specialised tools, they'll help you book a great trip that maximises the value for your points.

AFF Supporters can remove this and all advertisements

Status
Not open for further replies.
Back
Top