Official samples for Chrome Extensions and the Chrome Apps platform. Note that Chrome Apps are deprecated. Learn more on the Chromium blog.
For more information on extensions, see Chrome Developers.
Note: Samples for Manifest V3 are still being prepared. In the mean time, consider referring to _archive/mv2/.
The directory structure is as follows:
- api-samples/ - extensions focused on a single API package
- functional-samples/ - full featured extensions spanning multiple API packages
- _archive/apps/ - deprecated Chrome Apps platform (not listed below)
- _archive/mv2/ - resources for manifest version 2
To experiment with these samples, please clone this repo and use 'Load Unpacked Extension'. Read more on Development Basics.
Sample | Calls |
---|---|
Hello Extensionstutorial.hello-world
|
|
Page Redder sample.page-redder
|
|
My Bookmarks sample.bookmarks
|
|
Chromium Milestonessample.milestones
|
|
Cookie Clearer api-samples/cookies/cookie-clearer
|
|
Omnibox - New Tab Search api-samples/omnibox/new-tab-search
|
|
Web Accessible Resources api-samples/web-accessible-resources
|
Please see the CONTRIBUTING file for information on contributing to the chrome-extensions-samples
project.
chrome-extensions-samples
are authored by Google and are licensed under the Apache License, Version 2.0.