Chrome Extensions Samples
Перейти к файлу
amysteamdev 6db9c8d815
Convert Global Google Search to MV3 (#680)
2022-04-27 15:51:49 -07:00
.github/ISSUE_TEMPLATE Update issue templates (#559) 2021-02-25 09:55:09 +11:00
api Convert Global Google Search to MV3 (#680) 2022-04-27 15:51:49 -07: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 Fix page redder to disregard any chrome internal pages (#651) 2022-03-10 14:19:33 -08: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 Getting Started: Reading time (#700) 2022-04-27 09:45:28 -07: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 correction: hello world example contains call to onInstalled, not onClicked (#650) 2022-03-10 13:56:22 -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
Cookie Clearer
api/cookies/cookie-clearer
Omnibox - New Tab Search
api/omnibox/new-tab-search
Web Accessible Resources
api/web-accessible-resources