This project requires you to create a quick-and-dirty working prototype of a Firefox extension and a URL shortener website. As a starting point, you are free to use an open-source URL Shortener codebase as a starting point. Same for an open-source Firefox extension.
1. User installs extension, restarts browser.
2. The extension works in the background and displays a small icon in the browser status bar.
3. In the background, the extension keeps a record of navigation events (link clicks, text entered in textboxes, scroll events, back/forward events) that is RESET any time the user issues a web search in Google, Bing, or Yahoo after >5min of inactivity.
4. The resulting data structure acts as a "trail" of recent web navigation and is kept in-memory.
5. When user selects the address bar and copies the URL via "CTRL+C", the simple extension UI is activated: a small pop-up gives the user 2 options: 1) copy only that URL or 2) copy a URL that represents the current navigation trail.
6. If the user chooses to copy the trail, the trail data is sent to a URL shortener service which returns a shortened URL (e.g. [url removed, login to view]) and that URL is copied to the clipboard.
Should run on Firefox 3.
Please remember that I set the project to "very small" because I just need a working prototype, it doesn't have to be fully-featured, polished. It must work as described but could have edge cases that are broken. I'll be using this to demonstrate the concept, not release to the public. I will tip for work well done.