Look for IATA airport codes in a page and give them a tooltip with the full airport name.
Airport Code Explainer Extension
People on social media will often post details of where they’re flying by just referencing airport codes. This is fine if you know which airports the (sometimes obscure) codes refer to. This extension finds any airport codes in the text of the current page, and adds a tooltip with the full airport name.
Press the plane icon to add the tooltips when needed. The extension doesn’t run automatically on any pages as there are too many false positives for common abbreviations (such as ATM and PDF).
I originally made this just to be lazy when I’m looking at Twitter, so it’s very simple at the moment. I’m open to suggestions for improving the extension.
• Code is open source at https://github.com/gilmoreorless/convert-airport-codes
• Airport data provided in the Public Domain by OurAirports: http://ourairports.com/data/
• Icon from EmojiOne, licensed CC-BY 4.0: http://emojione.com/
Read more
Press the plane icon to add the tooltips when needed. The extension doesn’t run automatically on any pages as there are too many false positives for common abbreviations (such as ATM and PDF).
I originally made this just to be lazy when I’m looking at Twitter, so it’s very simple at the moment. I’m open to suggestions for improving the extension.
• Code is open source at https://github.com/gilmoreorless/convert-airport-codes
• Airport data provided in the Public Domain by OurAirports: http://ourairports.com/data/
• Icon from EmojiOne, licensed CC-BY 4.0: http://emojione.com/
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Airport Code Explainer", "short_name": "Airport Codes", "version": "1.1.3", "manifest_version": 2, "description": "Look for IATA airport codes in a page and give them a tooltip with the full airport name.", "icons": { "16": "icons/icon-16.png", "19": "icons/icon-19.png", "32": "icons/icon-32.png", "38": "icons/icon-38.png", "48": "icons/icon-48.png", "64": "icons/icon-64.png", "96": "icons/icon-96.png", "128": "icons/icon-128.png" }, "background": { "persistent": false, "scripts": ["background.js"] }, "browser_action": { "default_title": "Explain IATA airport codes" }, "permissions": [ "" ]}
Read more