Skip to content

MishaMgla/chrome-extensions-samples

 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.4%
  • HTML 10.0%
  • CSS 4.8%
  • C++ 1.4%
  • Perl 0.5%
  • C 0.3%
  • Other 0.6%