WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIAboutModule

IID:9575693c-60d9-4332-b6b8-6c29289339cb
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

A flag that indicates whether a URI is safe for untrusted content. If it is, web pages and so forth will be allowed to link to this about: URI. Otherwise, only chrome will be able to link to it.
PRUint32 URI_SAFE_FOR_UNTRUSTED_CONTENT = 1
A flag that indicates whether script should be enabled for the given about: URI even if it's disabled in general.
PRUint32 ALLOW_SCRIPT = 2

Methods

PRUint32 getURIFlags ( nsIURI URI ) nsIChannel newChannel ( nsIURI URI )

PRUint32 getURIFlags ( nsIURI URI )

A method to get the flags that apply to a given about: URI. The URI passed in is guaranteed to be one of the URIs that this module registered to deal with.

Arguments:
URI

nsIChannel newChannel ( nsIURI URI )

Constructs a new channel for the about protocol module.

Arguments:
URI: the uri of the new channel

Reference documentation is generated from Mozilla's source.