opr.speeddial

Support: Opera 15+

Description:Use the opr.speeddial module to access a Speed Dial entry and update its properties.
Permissions:"speeddial"
Learn more:Speed Dial Extensions

Types

SpeedDial

( object )

Properties of SpeedDial

title ( string )
Title of the Speed Dial entry.
url ( string )
URL to which the Speed Dial entry points to.

Methods

get

opr.speeddial.get(function callback)

Retrieves details about the extension's Speed Dial entry.

Parameters

callback ( function )

Callback

The callback parameter would return an object with the speed dial's title and URL.

For example:

opr.speeddial.get(function(result) { console.log("The URL is: " + result.url + " and the title is " + result.title); });

SpeedDial ( SpeedDial )

update

opr.speeddial.update(object SpeedDial)

Modifies the properties of the Speed Dial entry, namely its URL and Title.

Parameters

SpeedDial ( object )
url ( optional string )
The URL the Speed Dial entry points to.
title ( optional string )
The title of the Speed Dial.

For example:

opr.speeddial.update({ url: "http://dev.opera.com", title: "Dev Opera" });