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 refering to mv2-archive/
The directory structure is as follows:
- api/ - extensions focused on a single API package
- (To be added) howto/ - extensions that show how to perform a particular task
- tutorials/ - multi-step walkthroughs referenced inline in the docs
- extensions/ - full featured extensions spanning multiple API packages
- apps/ - deprecated Chrome Apps platform (not listed below)
- mv2-archive/ - resources for manifest version 2
To experiment with these samples, please clone this repo and use 'Load Unpacked Extension'. Read more on Getting Started.
Sample | Calls |
---|---|
Hello World examples/hello-world
|
|
Cookie Clearer api/cookies/cookie-clearer
|