xpInstallHat.js File Reference

Go to the source code of this file.

Functions

os addObserver (xpinstallObserver,"xpinstall-install-blocked", false)
 

Variables

function const Ci = Components.interfaces
 
var bundleSvc
 
var brandBundle = bundleSvc.createBundle("chrome://branding/locale/brand.properties")
 
var browserBundle = bundleSvc.createBundle("chrome://browser/locale/browser.properties")
 
var prefSvc
 
var xpinstallObserver
 
var os = Cc["@mozilla.org/observer-service;1"].getService(Ci.nsIObserverService)
 

Function Documentation

os addObserver ( xpinstallObserver  ,
"xpinstall-install-blocked"  ,
false   
)

Variable Documentation

var brandBundle = bundleSvc.createBundle("chrome://branding/locale/brand.properties")

Definition at line 37 of file xpInstallHat.js.

var browserBundle = bundleSvc.createBundle("chrome://browser/locale/browser.properties")

Definition at line 38 of file xpInstallHat.js.

var bundleSvc
Initial value:
= Cc["@mozilla.org/intl/stringbundle;1"]
.getService(Ci.nsIStringBundleService)
const Cc
function const Ci
Definition: xpInstallHat.js:33

Definition at line 35 of file xpInstallHat.js.

function const Ci = Components.interfaces

Definition at line 33 of file xpInstallHat.js.

var os = Cc["@mozilla.org/observer-service;1"].getService(Ci.nsIObserverService)

Definition at line 111 of file xpInstallHat.js.

var prefSvc
Initial value:
= Cc["@mozilla.org/preferences-service;1"]
.getService(Ci.nsIPrefBranch)
const Cc
function const Ci
Definition: xpInstallHat.js:33

Definition at line 40 of file xpInstallHat.js.

var xpinstallObserver

Definition at line 43 of file xpInstallHat.js.