Load Services.jsm and don't disable popup blocker

This commit is contained in:
Daniel Berteaud 2012-12-19 14:28:28 +01:00
parent 7a611d706b
commit 75fc94d446
1 changed files with 3 additions and 4 deletions

View File

@ -39,6 +39,9 @@ else {
}
?>
// Load Services.jsm, might be usefull
Components.utils.import("resource://gre/modules/Services.jsm");
// Disable auto updates
<?php echo $pref;?>("app.update.enabled", false);
<?php echo $pref;?>("app.update.auto", false);
@ -67,10 +70,6 @@ if ($pref == 'defaultPref'){
// Do not check for default browser
<?php echo $pref;?>("browser.shell.checkDefaultBrowser", false);
// Disable popup blocker
// not that very useful anymore, and blocks legitim popups from SOGo
<?php echo $pref;?>("dom.disable_open_during_load", false);
// Block 3rd party cookies
<?php echo $pref;?>("network.cookie.cookieBehavior", 1);