Need help with chrome-app-samples?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

GoogleChrome
8.2K Stars 5.0K Forks Apache License 2.0 1.4K Commits 10 Opened issues

Description

Chrome Extensions Samples

Services available

!
?

Need anything else?

Contributors list

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
  • 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
Page Redder
examples/page-redder
My Bookmarks
examples/bookmarks
Cookie Clearer
api/cookies/cookie-clearer
Omnibox - New Tab Search
api/omnibox/new-tab-search
Web Accessible Resources
api/web-accessible-resources

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.