opera.contexts.speeddial.url
Description:
Represents the target URL of the Speed Dial cell when clicked or otherwise activated. This can be either an external page or a local file within the extension. If not specified, the default value is the feature request's param element whose name attribute is url (specified in the extension's config.xml file).
Example:
//
// The background process ('/background.js').
//
// First check the opera.contexts.speeddial object is available
if (opera.contexts.speeddial) {
var sd = opera.contexts.speeddial;
// Set the Speed Dial target to a local file
sd.url = "about.html";
}About this article
| Published in | Dev.Opera |
|---|---|
| Date | December 6, 2011 |
| Author | Opera Software |
| Tags | extensions API, speed dial |
| Original | Internet Archive |