93c5072c81 | ||
---|---|---|
.allstar | ||
.github | ||
.husky | ||
.repo | ||
_archive | ||
api-samples | ||
functional-samples | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
CONTRIBUTING.md | ||
LICENSE | ||
README-template.md | ||
README.md | ||
package-lock.json | ||
package.json |
README.md
Chrome Extensions samples
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/.
Samples
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
|
Contributing
Please see the CONTRIBUTING file for information on contributing to the chrome-extensions-samples
project.
License
chrome-extensions-samples
are authored by Google and are licensed under the Apache License, Version 2.0.