Chrome Extensions Samples
Перейти к файлу
Xuezhou Dai 5addd58519
Add sample list generator action script (#989)
* Add action config

* Fix wrong working directory

* Fix relative path issue
2023-08-01 15:04:34 +01:00
.allstar Ignore packed extension from allstar checks. (#846) 2023-03-10 11:51:48 -05:00
.github Add sample list generator action script (#989) 2023-08-01 15:04:34 +01:00
.husky Add prettier and eslint (#831) 2023-02-22 13:25:39 +01:00
.repo Add scripts for generating sample list (#963) 2023-08-01 10:00:30 +01:00
_archive Merge branch 'main' of github.com:fishoe/chrome-extensions-samples into fishoe-main 2023-06-05 16:52:58 +01:00
api-samples Add readme files to existing samples & fix typos (#981) 2023-07-17 10:05:43 -06:00
functional-samples [SidePanel API] Add sidePanel.open() cookbook (#983) 2023-07-18 10:36:40 -06:00
.eslintignore Add wasm sample (#841) 2023-05-12 10:58:20 +01:00
.eslintrc.js Eslint: don't allow var (#856) 2023-03-20 19:36:40 +01:00
.gitignore Add declarativeNetRequest API samples. (#839) 2023-03-03 15:53:50 +00:00
.prettierignore Add prettier and eslint (#831) 2023-02-22 13:25:39 +01:00
.prettierrc.json Add prettier and eslint (#831) 2023-02-22 13:25:39 +01:00
CONTRIBUTING.md pretty print (#895) 2023-05-01 11:29:59 -04:00
LICENSE Add http://www.apache.org/licenses/LICENSE-2.0.txt. 2013-03-29 09:52:43 -07:00
README-template.md Add "Running this extension" section to template (#935) 2023-06-01 07:13:27 -05:00
README.md Add prettier and eslint (#831) 2023-02-22 13:25:39 +01:00
package-lock.json add eslint-config-prettier so eslint can load prettier, pin dev deps (#869) 2023-04-11 16:51:49 +02:00
package.json pretty print (#895) 2023-05-01 11:29:59 -04:00

README.md

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.