Implemented by
[scriptable, uuid(122c91c0-2485-40ba-89c9-b895934921bc)]
interface nsIHttpProtocolHandler : nsIProxiedProtocolHandler
Attributes
Get the application name. @return The name of this application (eg. "Mozilla").
readonly attribute
ACString
appName
Get the application version string. @return The complete version (major and minor) string. (eg. "5.0")
readonly attribute
ACString
appVersion
Get the translation of the application. The value for language is usually a 2-letter code such as "en" and occasionally a five-character code to indicate a language subtype, such as "zh_CN".
attribute
ACString
language
Get/Set the application comment misc portion.
attribute
ACString
misc
Get the current oscpu. @return The oscpu this application is running on
readonly attribute
ACString
oscpu
Get the current platform. @return The platform this application is running on (eg. "Windows", "Macintosh", "X11")
readonly attribute
ACString
platform
@return The product name.
attribute
ACString
product
@return A product comment.
attribute
ACString
productComment
@return A product sub string.
attribute
ACString
productSub
Get the HTTP advertised user agent string.
readonly attribute
ACString
userAgent
@return The vendor name.
attribute
ACString
vendor
@return The vendor comment.
attribute
ACString
vendorComment
@return The vendor sub string.
attribute
ACString
vendorSub
Compare to: