mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 00:11:44 +00:00
Tweak pref settings.
This commit is contained in:
parent
1138ddaebf
commit
ac20ab3674
@ -300,7 +300,7 @@ pref("javascript.options.strict", false);
|
||||
pref("javascript.options.showInConsole", false);
|
||||
|
||||
// popups.policy 1=allow,2=reject
|
||||
pref("privacy.popups.policy", 2);
|
||||
pref("privacy.popups.policy", 1);
|
||||
pref("privacy.popups.usecustom", false);
|
||||
|
||||
// advanced prefs
|
||||
|
@ -300,7 +300,7 @@ pref("javascript.options.strict", false);
|
||||
pref("javascript.options.showInConsole", false);
|
||||
|
||||
// popups.policy 1=allow,2=reject
|
||||
pref("privacy.popups.policy", 2);
|
||||
pref("privacy.popups.policy", 1);
|
||||
pref("privacy.popups.usecustom", false);
|
||||
|
||||
// advanced prefs
|
||||
|
@ -205,8 +205,15 @@ function RegisterTabOpenObserver()
|
||||
service.addObserver(observer, "open-new-tab-request", false);
|
||||
}
|
||||
|
||||
function PopupBlocked(event)
|
||||
{
|
||||
alert("A popup was blocked.");
|
||||
}
|
||||
|
||||
function Startup()
|
||||
{
|
||||
addEventListener("DOMPopupBlocked", PopupBlocked, false);
|
||||
|
||||
// init globals
|
||||
gNavigatorBundle = document.getElementById("bundle_browser");
|
||||
gBrandBundle = document.getElementById("bundle_brand");
|
||||
|
Loading…
x
Reference in New Issue
Block a user