chrome-extensions-examples icon indicating copy to clipboard operation
chrome-extensions-examples copied to clipboard

All Chrome Extension examples collected into one repository

This is not an official mirror of the Chrome extension examples. Report any issues with the examples themselves to Google's issue trackers/forums.

There is an ongoing effort to standardize the Extensions on different browsers, as discussed on MDN and defined in the WebExtensions Spec Draft. The resources on browser support and incompatibilities may be of interest.

chrome-extensions-examples

The Chrome Extensions examples did not exist as a Git repository, and browsing both the samples page and the VCViewer did not seem particularly handy. So, I decided to scrape the content into this repository for easier browsing and (possible) editing.

UPDATE: Google have posted their own repository for Chrome extensions here: https://github.com/GoogleChrome/chrome-extensions-samples

If you would like to clone a part of this repository, use git sparse checkouts.

You can find the scraper used to generate this repository (except for a git init and push) on github.

Content is licensed under the Google BSD License.

Example projects

  • A browser action which changes its icon when clicked
  • A browser action with a popup that changes the page color
  • AcceptLanguage
  • Advanced Font Settings
  • Animated Page Action
  • App Launcher
  • Blank new tab page
  • Block/allow referrer API example extension
  • Block/allow third-party cookies API example extension
  • BrowsingData API: Basics
  • CLD
  • Calculator
  • CatBlock
  • Catifier
  • Chrome Query
  • Chrome Sounds
  • Chromium Buildbot Monitor
  • Chromium IRC App
  • Chromium Search
  • Console TTS Engine
  • Constant Context
  • Content settings
  • Context Menus Sample
  • Context Menus Sample (with Event Page)
  • Cookie API Test Extension
  • Desktop Capture Example
  • Detect Language
  • Document Scanning API Sample
  • Download Filename Controller
  • Download Manager Button
  • Download Selected Links
  • Download and Open Button
  • Downloads Overwrite Existing Files
  • Drink Water Event Popup
  • Email this page (by Google)
  • Event Page Example
  • Event Tracking with Google Analytics
  • Fake Archive Handler App
  • File System Provider API Extension Example
  • FirePHP for Chrome
  • Getting started example
  • Global Google Search
  • Google Calendar Checker (by Google)
  • Google Document List Viewer
  • Google Mail Checker
  • Google Maps
  • Hello Extensions
  • History Override
  • Idle - Simple Example
  • Imageinfo
  • JavaScript pause/resume
  • Keep Awake
  • Keyboard Pin
  • Live HTTP headers
  • Managed Bookmarks
  • Mappy
  • Merge Windows
  • Message Timer
  • Minimal Localized Hosted App
  • My Bookmarks
  • My Devices
  • NTP prototyping extension
  • Native Messaging Example
  • News Reader
  • News Reader
  • News Reader (by Google)
  • Notification Demo
  • Omnibox Example
  • Omnibox New Tab Search
  • Page Redder
  • Page action by URL
  • Page action by content
  • Per-plugin content settings
  • Print this page
  • Process Monitor
  • Proxy Extension API Sample
  • Sample - OAuth Contacts
  • Sample Extension Commands extension
  • Sandboxed Frame
  • Show Tabs in Process
  • Simple Background App
  • Speak Selection
  • Stylizr
  • TTS Debug
  • TTS Demo
  • Tab Capture Example
  • Tab Flipper
  • Tab Inspector
  • Tab Shortcuts
  • Tabs Zoom API Demo
  • Talking Alarm Clock
  • Test IME
  • Test Screenshot Extension
  • Top Chrome Extension Questions
  • Top Sites
  • Typed URL History
  • WebNavigation Tech Demo
  • Webview transparency
  • extension.isAllowedFileSchemeAccess and extension.isAllowedIncognitoAccess Example
  • iGoogle new tab page
  • tabCast