whitespace
[conkeror.git] / defaults / preferences / javascript-restrictions.js
blob7b3bd6d7849705521b47c78a9a789f8a0b361118
1 /**
2  * (C) Copyright 2004-2007 Shawn Betts
3  * (C) Copyright 2007-2008 John J. Foerch
4  * (C) Copyright 2007-2008 Jeremy Maitin-Shepard
5  *
6  * Use, modification, and distribution are subject to the terms specified in the
7  * COPYING file.
8 **/
10 // Scripts & Windows prefs
11 pref("dom.disable_open_during_load",              true);
12 pref("javascript.options.showInConsole",          false);
13 // Make the status bar reliably present and unaffected by pages
14 pref("dom.disable_window_open_feature.status",    true);
15 // This is the pref to control the location bar, change this to true to
16 // force this instead of or in addition to the status bar - this makes
17 // the origin of popup windows more obvious to avoid spoofing but we
18 // cannot do it by default because it affects UE for web applications.
19 pref("dom.disable_window_open_feature.location",  true);
20 pref("dom.disable_window_status_change",          true);
21 // allow JS to move and resize existing windows
22 pref("dom.disable_window_move_resize",            true);
23 // prevent JS from monkeying with window focus, etc
24 pref("dom.disable_window_flip",                   true);
27 /* keypress must be included in this list for even popups created by
28  * Conkeror's built-in follow command to be permitted.
29  */
30 pref("dom.popup_allowed_events", "change click dblclick mouseup reset submit keypress");