popupBlocker.js File Reference

Go to the source code of this file.

Functions

window addEventListener ("unload", popupBlocker.onUnload, false)
 

Variables

 try
 
popupBlocker init_once = 0
 
popupBlocker deinit_once = 0
 
popupBlocker onLoad
 

Function Documentation

window addEventListener ( "unload"  ,
popupBlocker.  onUnload,
false   
)

Variable Documentation

popupBlocker deinit_once = 0

Definition at line 37 of file popupBlocker.js.

popupBlocker init_once = 0

Definition at line 36 of file popupBlocker.js.

popupBlocker onLoad
Initial value:
= function()
{
if (popupBlocker.init_once++) {
dump("WARNING: popupBlocker double init!!\n");
return;
}
if (typeof gBrowser == 'undefined') {
return;
}
}
popupBlocker.onUnload = function()
{
if (popupBlocker.deinit_once++) {
dump("WARNING: popupBlocker double deinit!!\n");
return;
}
window.removeEventListener("load", popupBlocker.onLoad, false);
window.removeEventListener("unload", popupBlocker.onUnload, false);
if (typeof gBrowser == 'undefined') {
return;
}
}
window.addEventListener("load", popupBlocker.onLoad, false)
let window
const gPopupBlockerObserver
Definition: browser.js:324

Definition at line 38 of file popupBlocker.js.

try
Initial value:
{
var popupBlocker = {}

Definition at line 32 of file popupBlocker.js.