chrome.experimental.* APIs
For information on how to use experimental APIs, see the chrome.experimental.* APIs page.
chrome.experimental.* APIs
We'd like your feedback
on the following experimental APIs:
Caution:
Don't depend on these experimental APIs.
They might disappear,
and they will change.
Also, the Chrome Developer Dashboard doesn't allow you to
upload extensions that use experimental APIs.
How to use experimental APIs
-
Make sure you're using the
Dev channel
of Google Chrome.
Although the experimental APIs might work in other versions,
we need your feedback on the latest incarnation of the APIs,
which you can find on the Dev channel.
-
Using the
API documentation for the Dev channel,
write the code for your extension.
-
Specify the "experimental"
permission
in your extension's manifest, like this:
"permissions": [
"experimental",
...
],
-
Enable the experimental API in your browser.
You can do this in either of two ways:
-
Give us feedback!
Your comments and suggestions help us
improve the APIs and decide
which ones should move from experimental to supported.
More information
For information on the standard APIs that extensions can use, see
chrome.* APIs and
Other APIs.
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.