浏览代码

2202: cleanup #434

both these removed prefs are enforcing the default in ESR52.x and FF60+ (and I assume FF52+) branches
Thorin-Oakenpants 7 年之前
父节点
当前提交
449e32a8ca
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      user.js

+ 1 - 3
user.js

@@ -1068,9 +1068,7 @@ user_pref("dom.disable_window_open_feature.resizable", true); // default: true
 user_pref("dom.disable_window_open_feature.status", true); // status bar - default: true
 user_pref("dom.disable_window_open_feature.titlebar", true);
 user_pref("dom.disable_window_open_feature.toolbar", true);
-/* 2202: disable meddling with open windows ***/
-user_pref("dom.allow_scripts_to_close_windows", false); // default: false
-user_pref("dom.disable_window_flip", true); // window z-order - default: true
+/* 2202: prevent scripts moving and resizing open windows ***/
 user_pref("dom.disable_window_move_resize", true);
 /* 2203: open links targeting new windows in a new tab instead
  * This stops malicious window sizes and some screen resolution leaks.