Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the BSD License.
©2009 Google
![]() |
This page shows some sample extensions, with links that let you install them and find their source code. Each sample also has links to the documentation for each feature used by the sample.
Note: To run these samples, you need to be using the Dev Channel of Google Chrome.
For more example code, see the Chromium examples directory.
Adds a Google Mail button to the toolbar which displays the number of unread messages in your inbox. You can also click the button to open your inbox.
Included with no charge is a swell animation when the number of unread items changes.
Features used:
Adds a small icon to the omnibox when a web page contains a feed that can be subscribed to. When you click the icon, present a preview of the feed and the option to subscribe in the web-based reader of your choice.
Features used:
Displays the first 5 items from the 'Google News - top news' RSS feed in a popup. Also shows how a popup can dynamically resize itself to fit additional content.
Features used:
These samples use similar capabilities to the ones above, but to implement different features.