What's New in Extensions?
For information on how to use experimental APIs, see the chrome.experimental.* APIs page.
What's New in Extensions?
This page lists the API and manifest changes
made in recent releases.
Google Chrome 7
New APIs
- All users can now install
apps;
packaged apps can use extension APIs
- The management API
lets you work with installed apps and extensions
Manifest changes
- Introduced split incognito
mode as the default for installable web apps
(also available to extensions)
- The tabs API
create()
and update()
methods
no longer require the "tabs" permission, removing one common cause of
scary dialogs
Google Chrome 6
New APIs
- The context menus API allows you to
add context menus to pages or specific objects on a page
- The cookies API allows you to manage the
browser's cookie system
- The idle API allows you to detect when the
machine's idle state changes
New experimental APIs
- The omnibox API allows you to
add functionality to the browser's address bar
- The infobars API allows you
to add a UI panel across the top of a tab
Additions to existing APIs
Manifest changes
- The geolocation permission
gives an extension access to the user's physical location
- Match patterns can now select all
schemes or all URLs
- Access to file:/// URLs no longer triggers the "access to your machine"
security warning, but now requires user opt-in from the extensions
management page
API reference: chrome.apiname
Properties
getLastError
chrome.extensionlastError
Methods
method name
void
chrome.module.methodName(,
)
Undocumented.
A description from the json schema def of the function goes here.
Parameters
Returns
Callback function
The callback parameter should specify a function
that looks like this:
If you specify the callback parameter, it should
specify a function that looks like this:
function(Type param1, Type param2) {...};
This function was added in version .
If you require this function, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
Events
event name
chrome.bookmarksonEvent.addListener(function(Type param1, Type param2) {...});
Undocumented.
A description from the json schema def of the event goes here.
Parameters