Sample Extensions
My Bookmarks
A browser action with a popup dump of all bookmarks, including search, add, edit and delete.
Source Files:
A browser action which changes its icon when clicked
Click browser action icon to change color!
Calls:
Source Files:
A browser action with a popup that changes the page color
Change the current page color
Calls:
Source Files:
Sample Extension Commands extension
Press Ctrl+Shift+F to open the browser action popup, press Ctrl+Shift+Y to send an event.
Calls:
Source Files:
Context Menus Sample (with Event Page)
Shows some of the features of the Context Menus API using an event page
Source Files:
Tab Flipper
Press Ctrl+Shift+Right or Ctrl+Shift+Left (Command+Shift+Right or Command+Shift+Left on a Mac) to flip through window tabsMy Devices
A browser action with a popup dump of all devices signed into the same account as the current profile.
Source Files:
FirePHP for Chrome
Extends the Developer Tools, adding support for parsing FirePHP messages from server
Calls:
Source Files:
Chrome Query
Extends the Developer Tools, adding a sidebar that displays the jQuery data associated with the selected DOM element.
Calls:
Source Files:
tabCast
Creates a WiFi Display Session from the captured tab media stream using chrome.displaySource API.
Calls:
Source Files:
Download Manager Button
Browser Action Download Manager User Interface for Google Chrome
Calls:
browserAction.setIcondownloads.acceptDangerdownloads.canceldownloads.downloaddownloads.erasedownloads.getFileIcondownloads.onChangeddownloads.onCreateddownloads.onEraseddownloads.opendownloads.pausedownloads.removeFiledownloads.resumedownloads.searchdownloads.setShelfEnableddownloads.showdownloads.showDefaultFolderi18n.getMessagepermissions.containspermissions.requestruntime.onMessageruntime.sendMessagetabs.create
Downloads Overwrite Existing Files
All downloads overwrite existing files instead of adding ' (1)', ' (2)', etc.
Source Files:
Event Page Example
Demonstrates usage and features of the event page
Calls:
alarms.createalarms.onAlarmbookmarks.onRemovedbrowserAction.onClickedbrowserAction.setBadgeTextcommands.onCommanddeclarativeWebRequest.RedirectRequestdeclarativeWebRequest.RequestMatcherruntime.onInstalledruntime.onMessageruntime.onSuspendruntime.sendMessagetabs.createtabs.executeScripttabs.querytabs.sendMessage
Source Files:
`extension.isAllowedFileSchemeAccess` and `extension.isAllowedIncognitoAccess` Example
Demonstrates the `extension.isAllowedFileSchemeAccess` and `extesion.isAllowedIncognitoAccess` APIsFake Archive Handler App
Demonstrate File System Provider API usage for apps.
Calls:
fileSystemProvider.getfileSystemProvider.mountfileSystemProvider.onCloseFileRequestedfileSystemProvider.onGetMetadataRequestedfileSystemProvider.onOpenFileRequestedfileSystemProvider.onReadDirectoryRequestedfileSystemProvider.onReadFileRequestedfileSystemProvider.onUnmountRequestedfileSystemProvider.unmountruntime.lastErrorruntime.onStartupruntime.onSuspendstorage.StorageArea.getstorage.StorageArea.set
Source Files:
File System Provider API Extension Example
Demonstrate features of the API like mounting, listing directories, etc for extensions.
Calls:
fileSystemProvider.mountfileSystemProvider.onCloseFileRequestedfileSystemProvider.onGetMetadataRequestedfileSystemProvider.onMountRequestedfileSystemProvider.onOpenFileRequestedfileSystemProvider.onReadDirectoryRequestedfileSystemProvider.onReadFileRequestedfileSystemProvider.onUnmountRequestedfileSystemProvider.unmountruntime.lastError
Source Files:
Advanced Font Settings
Customize per-script font settings.
Calls:
fontSettings.clearDefaultFixedFontSizefontSettings.clearDefaultFontSizefontSettings.clearFontfontSettings.clearMinimumFontSizefontSettings.getDefaultFixedFontSizefontSettings.getDefaultFontSizefontSettings.getFontfontSettings.getFontListfontSettings.getMinimumFontSizefontSettings.onDefaultFixedFontSizeChangedfontSettings.onDefaultFontSizeChangedfontSettings.onFontChangedfontSettings.onMinimumFontSizeChangedfontSettings.setDefaultFixedFontSizefontSettings.setDefaultFontSizefontSettings.setFontfontSettings.setMinimumFontSize
Source Files:
fonts128.pngfonts16.pngmanifest.jsonoptions.htmloptions.jspending_changes.jsslider.cssslider.jsjs/cr.jscss/chrome_shared.csscss/overlay.csscss/uber_shared.csscss/widgets.cssimages/disabled_select.pngimages/select.pngimages/x-hover.pngimages/x-pressed.pngimages/x.pngimages/slider/slide_bar_center.pngimages/slider/slide_bar_disabled_center.pngimages/slider/slide_bar_disabled_left.pngimages/slider/slide_bar_disabled_right.pngimages/slider/slide_bar_fill_center.pngimages/slider/slide_bar_fill_left.pngimages/slider/slider_bar_right.pngimages/slider/slider_thumb.pngimages/slider/slider_thumb_disabled.pngimages/slider/slider_thumb_down.pngimages/slider/slider_thumb_hover.pngjs/cr/ui.jsjs/cr/ui/overlay.js
History Override
Overrides the History PageTyped URL History
Reads your history, and shows the top ten pages you go to by typing the URL.
Source Files:
Detect Language
Detects up to 3 languages and their percentages of the provided string
Calls:
Source Files:
AcceptLanguage
Returns accept languages of the browserMinimal Localized Hosted App
This is the minimal set of data required to upload a localized hosted application to the web store.
Calls:
Idle - Simple Example
Demonstrates the Idle API
Notification Demo
Shows off desktop notifications, which are "toast" windows that pop up on the desktop.
Calls:
Source Files:
Omnibox New Tab Search
Type 'nt' plus a search term into the Omnibox to open search in new tab.Animated Page Action
This extension adds an animated browser action to the toolbar.
Calls:
Source Files:
Top Chrome Extension Questions
Sample demonstration of the optional permissions API.
Calls:
Source Files:
Block/allow third-party cookies API example extension
Sample extension which demonstrates how to access a preference.
Source Files:
Block/allow referrer API example extension
Sample extension which demonstrates how to access a preference.
Source Files:
Print Extension
Sends print job directly to the printers installed on the ChromebookProcess Monitor
Adds a browser action that monitors resource usage of all browser processes.
Source Files:
Show Tabs in Process
Adds a browser action showing which tabs share the current tab's process.
Calls:
Source Files:
Tab Capture Example
Capture a tab and play in aTab Inspector
Utility for working with the extension tabs api
Calls:
browserAction.onClickedextension.getURLtabs.createtabs.gettabs.getAllInWindowtabs.movetabs.onAttachedtabs.onCreatedtabs.onDetachedtabs.onMovedtabs.onRemovedtabs.onSelectionChangedtabs.onUpdatedtabs.querytabs.removetabs.updatewindows.createwindows.getwindows.getAllwindows.getCurrentwindows.getLastFocusedwindows.onCreatedwindows.onFocusChangedwindows.onRemovedwindows.removewindows.update
Source Files:
Keyboard Pin
Creates a keyboard shortcut (Alt + Shift + P) to toggle the pinned state of the currently selected tab
Source Files:
Test Screenshot Extension
Demonstrate screenshot functionality in the chrome.tabs api.
Calls:
Source Files:
Tabs Zoom API Demo
This extension allows the user to explore features of the new tabs zoom api.
Calls:
Source Files:
Console TTS Engine
A "silent" TTS engine that prints text to a small window rather than synthesizing speech.
Calls:
Source Files:
Drink Water Event Popup
Demonstrates usage and features of the event page by reminding user to drink water
Calls:
WebNavigation Tech Demo
Demonstration of the WebNavigation extension API.
Calls:
i18n.getMessageruntime.onMessageruntime.onStartupruntime.sendMessagestorage.StorageArea.getstorage.StorageArea.setwebNavigation.onBeforeNavigatewebNavigation.onCommittedwebNavigation.onCompletedwebNavigation.onCreatedNavigationTargetwebNavigation.onErrorOccurredwebNavigation.onHistoryStateUpdatedwebNavigation.onReferenceFragmentUpdated
WebView Extension Communications Demo: Extension
Provides content scripts to an app hosting a WebView.
Source Files:
Merge Windows
Merges all of the browser's windows into the current windowChromium Buildbot Monitor
Displays the status of the Chromium buildbot in the toolbar. Click to see more detailed status in a popup.
Calls:
Google Calendar Checker (by Google)
Quickly see the time until your next meeting from any of your calendars. Click on the button to be taken to your calendar.
Calls:
Source Files:
manifest.jsonviews/options.htmljavascript/background.jsjavascript/options.jsimages/icon-128.pngimages/icon-16.pngimages/icon-19.pngimages/icon-38.pngimages/icon-48.png_locales/sr/messages.json_locales/sk/messages.json_locales/vi/messages.json_locales/pt_BR/messages.json_locales/hu/messages.json_locales/fi/messages.json_locales/el/messages.json_locales/es/messages.json_locales/de/messages.json_locales/lv/messages.json_locales/nl/messages.json_locales/th/messages.json_locales/ja/messages.json_locales/ca/messages.json_locales/cs/messages.json_locales/id/messages.json_locales/nb/messages.json_locales/fr/messages.json_locales/pl/messages.json_locales/en/messages.json_locales/zh_TW/messages.json_locales/he/messages.json_locales/es_419/messages.json_locales/it/messages.json_locales/pt_PT/messages.json_locales/lt/messages.json_locales/et/messages.json_locales/en_GB/messages.json_locales/fil/messages.json_locales/sv/messages.json_locales/hr/messages.json_locales/ko/messages.json_locales/da/messages.json_locales/ro/messages.json_locales/bg/messages.json_locales/ar/messages.json_locales/ru/messages.json_locales/hi/messages.json_locales/sl/messages.json_locales/uk/messages.json_locales/tr/messages.json_locales/zh_CN/messages.json
Email this page (by Google)
This extension adds an email button to the toolbar which allows you to email the page link using your default mail client or Gmail.
Calls:
Chrome Sounds
Enjoy a more magical and immersive experience when browsing the web using the power of sound.
Calls:
bookmarks.onCreatedbookmarks.onMovedbookmarks.onRemovedextension.getBackgroundPageextension.onRequestextension.sendRequesttabs.gettabs.onAttachedtabs.onCreatedtabs.onDetachedtabs.onMovedtabs.onRemovedtabs.onSelectionChangedtabs.onUpdatedwindows.onCreatedwindows.onFocusChangedwindows.onRemoved
Source Files:
Google Document List Viewer
Demonstrates how to use OAuth to connect the Google Documents List Data API.
Calls:
Source Files:
READMEbackground.htmlchrome_ex_oauth.htmlchrome_ex_oauth.jschrome_ex_oauthsimple.jsmanifest.jsonoptions.htmlpopup.htmlimg/docs_spreadsheets-128.gifimg/docs_spreadsheets-32.gifimg/docs_spreadsheets-48.gifjs/jquery-1.4.1.min.jsimg/icons/audio.gifimg/icons/document.gifimg/icons/file.gifimg/icons/folder.gifimg/icons/form.gifimg/icons/pdf.gifimg/icons/presentation.gifimg/icons/spreadsheet.gif
Google Mail Checker
Displays the number of unread messages in your Google Mail inbox. You can also click the button to open your inbox.
Calls:
alarms.createalarms.getalarms.onAlarmbrowserAction.onClickedbrowserAction.setBadgeBackgroundColorbrowserAction.setBadgeTextbrowserAction.setIconi18n.getMessageruntime.onInstalledruntime.onStartupruntime.onStartuptabs.createtabs.getAllInWindowtabs.onUpdatedtabs.updatewebNavigation.onDOMContentLoadedwebNavigation.onDOMContentLoadedwebNavigation.onReferenceFragmentUpdatedwebNavigation.onReferenceFragmentUpdatedwindows.onCreated
Source Files:
background.htmlbackground.jsgmail_logged_in.pnggmail_not_logged_in.pngicon_128.pngmanifest.json_locales/es/messages.json_locales/nl/messages.json_locales/pt_BR/messages.json_locales/ar/messages.json_locales/sk/messages.json_locales/pt_PT/messages.json_locales/he/messages.json_locales/lv/messages.json_locales/hr/messages.json_locales/nb/messages.json_locales/fil/messages.json_locales/hi/messages.json_locales/sv/messages.json_locales/ko/messages.json_locales/cs/messages.json_locales/da/messages.json_locales/sl/messages.json_locales/pl/messages.json_locales/es_419/messages.json_locales/en_GB/messages.json_locales/fi/messages.json_locales/zh_CN/messages.json_locales/en/messages.json_locales/vi/messages.json_locales/hu/messages.json_locales/el/messages.json_locales/th/messages.json_locales/id/messages.json_locales/bg/messages.json_locales/ca/messages.json_locales/sr/messages.json_locales/zh_TW/messages.json_locales/ro/messages.json_locales/ja/messages.json_locales/tr/messages.json_locales/uk/messages.json_locales/it/messages.json_locales/fr/messages.json_locales/et/messages.json_locales/ru/messages.json_locales/lt/messages.json_locales/de/messages.json
Imageinfo
Get image info for images, including EXIF dataManaged Bookmarks
Adds bookmarks configured by your system administrator to Chrome.
Calls:
Source Files:
News Reader (by Google)
Displays the latest stories from Google News in a popup.
Source Files:
manifest.jsonimages/buzz.pngimages/delete-icon.pngimages/fb.pngimages/news.gifimages/news_action.pngimages/news_icon.pngimages/sprite_arrows.gifimages/twitter.pngcss/feed.csscss/options.cssjavascript/feed.jsjavascript/options.jsjavascript/util.jsviews/background.htmlviews/feed.htmlviews/options.html_locales/en/messages.json
News Reader
Displays the first 5 items from the 'Google News - top news' RSS feed in a popup.
Calls:
News Reader
Displays the first 5 items from the '$Google$ News - top news' RSS feed in a popup.
Calls:
Sample - OAuth Contacts
Uses OAuth to connect to Google's contacts service and display a list of your contacts.
Calls:
Per-plugin content settings
Customize your content setting for different plugins.
Calls:
Source Files:
bunny128.pngbunny48.pngmanifest.jsonoptions.htmljs/chrome_stubs.jsjs/main.jsjs/plugin_list.jsjs/plugin_list_test.htmljs/plugin_settings.jsjs/plugin_settings_test.htmljs/rule_list.jsjs/rule_list_test.htmlcss/plugin_list.csscss/rule_list.cssdomui/css/button.cssdomui/css/chrome_shared.cssdomui/css/list.cssdomui/css/select.cssoptions/images/close_bar.pngoptions/images/close_bar_h.pngoptions/images/close_bar_p.pngoptions/js/deletable_item_list.jsoptions/js/inline_editable_list.jsdomui/images/select.pngdomui/js/cr.jsdomui/js/util.js_locales/en/messages.jsonoptions/css/list.cssdomui/js/cr/event_target.jsdomui/js/cr/ui.jsdomui/js/cr/ui/array_data_model.jsdomui/js/cr/ui/list.jsdomui/js/cr/ui/list_item.jsdomui/js/cr/ui/list_selection_controller.jsdomui/js/cr/ui/list_selection_model.jsdomui/js/cr/ui/list_single_selection_model.js
Proxy Extension API Sample
Set Chrome-specific proxies; a demonstration of Chrome's Proxy API
Calls:
Talking Alarm Clock
A clock with two configurable alarms that will play a sound and speak a phrase of your choice.
Source Files:
background.jsblank-clock-150.pngblank-clock-ring1-150.pngblank-clock-ring2-150.pngclock-128.pngclock-16.pngclock-19.pngclock-256.pngclock-48.pngclock-disabled-19.pngclock-highlighted-19.pngcommon.jscredits.htmlmanifest.jsonplay.pngpopup.htmlpopup.jsaudio/cuckoo.oggaudio/digital.oggaudio/metal.oggaudio/ringing.oggaudio/rooster.ogg
TTS Debug
Tool for developers of Chrome TTS engine extensions to help them test their engines are implementing the API correctly.
Calls:
Source Files:
Event Tracking with Google Analytics
A sample extension which uses Google Analytics to track usage.
Calls:
Getting Started Example
Build an Extension!Getting started example
This extension allows the user to change the background color of the current page.
Calls:
Source Files:
OAuth Tutorial FriendBlock
Uses OAuth to connect to Google's People API and display contacts photos.
Source Files:
OAuth Tutorial FriendBlock
Uses OAuth to connect to Google's People API and display contacts photos.
Source Files: