Files
chrome-extensions-samples/README.md
Sebastian Benz dc2174377a Add prettier and eslint (#831)
* Ignores archived samples
* Uses eslint/recommended rules
* Runs prettier and eslint (including --fix) pre-commit via husky
* Adds new npm scripts: 'lint', 'lint:fix' and 'prettier'
* Does not lint inline js code
* Fix all prettier and eslint errors
* Add custom prettier rules
* Apply custom prettier rules
* Update readme to explain how to setup the repo
* addressed comments
2023-02-22 13:25:39 +01:00

5.9 KiB

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 _archive/mv2/.

Samples

The directory structure is as follows:

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

Sample Calls
Hello Extensions
tutorial.hello-world
Page Redder
sample.page-redder
My Bookmarks
sample.bookmarks
Chromium Milestones
sample.milestones
Cookie Clearer
api-samples/cookies/cookie-clearer
Omnibox - New Tab Search
api-samples/omnibox/new-tab-search
Web Accessible Resources
api-samples/web-accessible-resources

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.