« Documentation Home

widget.name

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:

This readonly attribute corresponds to the name element 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 name of the widget, as declared in config.xml
var name = widget.name;