зеркало из https://github.com/mozilla/pjs.git
Tweak pref settings.
This commit is contained in:
Родитель
dcf98d7652
Коммит
dd8f83e238
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче