« Documentation Home

opera.extension.removeEventListener()

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:

Removes an existing listener from an event.

Parameters:

Syntax:

void removeEventListener (<DOMString> type, <EventListener> listener, UseCapture)

Example:

var myFunc = function() {
  return someValue;
};
opera.extension.removeEventListener('onmessage', myFunc, false);