Go to the source code of this file.
window addEventListener |
( |
"unload" |
, |
|
|
popupBlocker. |
onUnload, |
|
|
false |
|
|
) |
| |
popupBlocker deinit_once = 0 |
popupBlocker init_once = 0 |
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)
const gPopupBlockerObserver
Definition at line 38 of file popupBlocker.js.