2 // Scripts & Windows prefs
3 pref("dom.disable_open_during_load", true);
4 pref("javascript.options.showInConsole", false);
5 // Make the status bar reliably present and unaffected by pages
6 pref("dom.disable_window_open_feature.status", true);
7 // This is the pref to control the location bar, change this to true to
8 // force this instead of or in addition to the status bar - this makes
9 // the origin of popup windows more obvious to avoid spoofing but we
10 // cannot do it by default because it affects UE for web applications.
11 pref("dom.disable_window_open_feature.location", true);
12 pref("dom.disable_window_status_change", true);
13 // allow JS to move and resize existing windows
14 pref("dom.disable_window_move_resize", true);
15 // prevent JS from monkeying with window focus, etc
16 pref("dom.disable_window_flip", true);
19 /* keypress must be included in this list for even popups created by
20 * Conkeror's built-in follow command to be permitted.
22 pref("dom.popup_allowed_events", "change click dblclick mouseup reset submit keypress");