chrome-extensions-samples README

The project's README from github.com/GoogleChrome/chrome-extensions-samples. As one markdown file: README.md.

Chrome Extensions samples

Official samples for Chrome Extensions and the Chrome Apps platform. (Chrome Apps are deprecated. Learn more on the Chromium blog).

For more information on extensions, see Chrome Developers.

Explore samples

The directory structure is as follows:

You can also use the Samples page to discover extensions by type, permissions, and extension API.

Installation

To experiment with these samples, please clone this repo and use 'Load Unpacked Extension'. Read more on Development Basics.

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.

chrome-extensions-samples (GoogleChrome/chrome-extensions-samples)

Searching Database…

What is this?This is Google's official collection of sample Chrome Extensions (and legacy Chrome Apps) demonstrating how to use the various extension APIs.
Is this one big extension or a bunch of separate examples?It is a repository of many separate, small sample projects organized by folder, not a single extension.
How do I try one of these samples?Clone the repo, then load a sample folder into Chrome using the 'Load Unpacked Extension' option in chrome://extensions.
Do I need any special tools to run them?No special tooling is required beyond a Chrome browser; the repo itself uses npm scripts like prettier and eslint for maintaining the code, not for running samples.
Are the Chrome Apps samples still usable?No, the Chrome Apps platform is deprecated, and those samples live in an archive folder that isn't actively maintained or listed.
Where do these extensions run?They run inside the Chrome browser as unpacked extensions loaded via developer mode.
How do I find a sample for a specific API or permission?The README points to a Samples page where you can browse extensions by type, permission, or API, rather than scanning folders manually.
What's the difference between api-samples and functional-samples?api-samples cover one single API package each, while functional-samples are more complete extensions that combine multiple API packages to show a real feature.
What is manifest version 2 archive for?The archive/mv2 folder keeps resources for the older Manifest V2 extension format, separate from current MV3 samples.
Size
57.8 MB
Stars
17.8K
Updated
CommitOct 14
Age
14y
Commits · 90 Days