nsIWebBrowserChrome3

An extension to nsIWebBrowserChrome2.
1.0
28
Introduced
Gecko 2.0
Inherits from: nsIWebBrowserChrome2 Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

Method overview

AString onBeforeLinkTraversal(in AString originalTarget, in nsIURI linkURI, in nsIDOMNode linkNode, in PRBool isAppTab);

Methods

onBeforeLinkTraversal()

Determines the appropriate target for a link.

AString onBeforeLinkTraversal(
  in AString originalTarget,
  in nsIURI linkURI,
  in nsIDOMNode linkNode,
  in PRBool isAppTab
);
Parameters
originalTarget
The original link target.
linkURI
Link destination URI.
linkNode
Link DOM node.
isAppTab
Whether or not the link is in an application tab.
Return value

A new link target, if appropriate. Otherwise returns originalTarget.

See also

Document Tags and Contributors

 Last updated by: Sheppy,