Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

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

 Contributors to this page: Sheppy, fscholz, trevorh
 Last updated by: Sheppy,