Chrome Extensions Samples
Перейти к файлу
CodeMaster7000 2adde0815f
Update README.md to correct grammar and improve formatting (#802)
* Update README.md

* Update README.md
2023-01-13 08:39:13 -08:00
.github/ISSUE_TEMPLATE Update issue templates (#559) 2021-02-25 09:55:09 +11:00
api Fix favicon API example (#771) 2022-12-08 10:26:17 -08:00
apps Fix image in all sample readmes (#529) 2021-02-25 09:49:17 +11:00
docs Redirect visits to repo's site 2021-02-22 19:55:26 -08:00
examples Removes duplicate legacy hello-world (#799) 2023-01-05 14:15:41 -06:00
mv2-archive Fix Uncaught TypeError: $(...).empty(...).dialog is not a function (#595) 2021-08-04 08:33:30 +10:00
reference/mv3/intro/mv3-migration/content-scripts MV3 migration content script snippets (#626) 2021-08-10 18:17:30 -07:00
tools import old samples 2020-12-04 10:13:59 +11:00
tutorials Minor reading-time extension manifest change (#761) 2022-12-08 13:39:08 -06:00
.gitignore Ignore _debug directory (#711) 2022-04-27 14:26:58 -07:00
CONTRIBUTING.md Added CONTRIBUTING.md file 2014-08-25 15:40:13 +02:00
LICENSE Add http://www.apache.org/licenses/LICENSE-2.0.txt. 2013-03-29 09:52:43 -07:00
README.md Update README.md to correct grammar and improve formatting (#802) 2023-01-13 08:39:13 -08: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 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