Color Finder Safari Extension

Last Revision:
Version 1.0, 2011-06-07
This extension uses a popover to show the colors used by the current page.
Build Requirements:
Safari v5.1 or later
Runtime Requirements:
Safari v5.1 or later

When the user clicks on the toolbar item for this extension, a popover that is specified in the Extension Builder is shown. When the popover event is received, the popover sends a message to the content script to gather the color information for the current web page. The content script iterates through all the stylesheets of the current web page, and then sends a message back up to the Application Layer with this information. The color information is then turned into HTML content and shown in the popover.

This extension also includes a bar that can be used instead of the popover. To use the bar, add a bar in the Extension Builder that uses bar.html.