« Documentation Home

opera.contexts.speeddial.url

This documentation relates to Opera's now deprecated .oex Extension API framework for Opera versions <= 12.15 and also provided by our OEX2NEX shim library.

For the latest Opera Extensions API documentation for Opera versions > 12.15 please consult the latest Opera Extensions API documentation online.

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";
}