widget.authorHref

By Opera Software

Description:

This readonly attribute corresponds to the author element's href attribute in the configuration document, if one was declared. Otherwise, it will return an empty string.

Example:

//
// Any extension script (e.g. /background.js)
//

// Returns the link to the author's homepage, as declared in config.xml
var homepage = widget.authorHref;

This article is licensed under a Creative Commons Attribution 3.0 Unported license.

Comments

No new comments accepted.