Skip to content

zer0wiz/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 refering 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
Cookie Clearer
api/cookies/cookie-clearer
Web Accessible Resources
api/web-accessible-resources

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.6%
  • HTML 9.9%
  • CSS 4.8%
  • C++ 1.5%
  • Perl 0.5%
  • Dart 0.2%
  • Other 0.5%