Opera Speed Dial API

Contents

  1. Types
    1. speeddial
  2. Methods
    1. get
    2. update
DescriptionPermissionsLearn more
Use the opr.speeddial module to access a Speed Dial entry and update its propertiesspeeddialSpeed Dial Extensions

Types

speeddial

(object)

Properties

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

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'
});