This page should perhaps be renamed from "overview" to "concepts". In any case, what I'd like to cover here is the conceptual underpinning of extensions, such as:
- Zip file of web pages
- All resources accessible with a URL scheme
- How IDs are generated
- The manifest
- The background page, how extensions are typically structured
- Process model
- Content scripts (lightweight, link off to other page for details)
- Asynchronous APIs
- Extension IDs, how they are generated
- How packaging works at a high level (lightweight, link off to other page for details)
Methods
method name
void chrome.module.methodName(, )
Undocumented.
A description from the json schema def of the function goes here.
Parameters
- paramName
(
optional Type array of paramType )
- Undocumented.
- Description of this parameter from the json schema.
-
Returns
Callback function
If you specify the callback parameter, it should specify a function that looks like this:
function(Type param1, Type param2) {...});
Events
event name
chrome.bookmarks.onEvent.addListener(function(Type param1, Type param2) {...});
Undocumented.
A description from the json schema def of the event goes here.
Parameters