mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
e868874a21a451baa35f95cd4e6aea80a7217ee5
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 mv2-archive/.
Samples
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
- examples/ - 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 Extensionstutorials/hello-world
|
|
Page Redder examples/page-redder
|
|
My Bookmarks examples/bookmarks
|
|
Chromium Milestonesexamples/milestones
|
|
Cookie Clearer api/cookies/cookie-clearer
|
|
Omnibox - New Tab Search api/omnibox/new-tab-search
|
|
Web Accessible Resources api/web-accessible-resources
|
Description
Languages
JavaScript
85.1%
HTML
8.3%
CSS
4.2%
C++
1%
Perl
0.4%
Other
0.9%