whitespace
[conkeror.git] / defaults / preferences / default-modules.js
blob2b130a2a3c79aa424cbe11b03e289fd4db35ec42
1 /**
2  * (C) Copyright 2008 Jeremy Maitin-Shepard
3  *
4  * Use, modification, and distribution are subject to the terms specified in the
5  * COPYING file.
6 **/
8 /**
9  * This property can have three distinct meanings, depending on whether it is positive, zero, or negative.
10  *
11  * If it is positive, all modules corresponding to children of
12  * conkeror.load. set to a positive number are loaded.
13  *
14  * If it is set to 0, only children of conkeror.load. that have a
15  * positive user value (i.e. not just a default value) are loaded.
16  *
17  * If it is negative, no additional optional modules are loaded.
18  */
19 pref("conkeror.loadDefaultModules", 1);
21 /**
22  * This preference specifies a regular expression of additional
23  * modules to load.  Each module corresponding to a child of
24  * "conkeror.load." set to a _non-negative_ value that matches this
25  * regular expression (partial matches are not permitted) will be
26  * loaded.  These modules are loaded in addition to any modules loaded
27  * according to the description of conkeror.loadDefaultModules above.
28  * Thus, if the preference corresponding to a module has a negative
29  * value, it will never be loaded, but if it is set to 0, then it will
30  * be loaded only if it matches this regular expression.
31  *
32  * This preference may be useful as a concise way of specifying that
33  * you want to load all of a certain class of modules.  For example,
34  * the value "(extensions|page-modes)/.*" would specify to load all
35  * modules in the extensions/ (extension support modules) or
36  * page-modes/ directories.
37  */
38 pref("conkeror.loadModules", "");
40 pref("conkeror.load.bindings/default/bindings", 1);
41 pref("conkeror.load.mode-line", 1);
42 pref("conkeror.load.daemon", 1);
44 // Page mode modules
45 pref("conkeror.load.page-modes/dailymotion", 1);
46 pref("conkeror.load.page-modes/grooveshark", 1);
47 pref("conkeror.load.page-modes/google-calendar", 1);
48 pref("conkeror.load.page-modes/google-maps", 1);
49 pref("conkeror.load.page-modes/google-reader", 1);
50 pref("conkeror.load.page-modes/google-video", 1);
51 pref("conkeror.load.page-modes/smbc", 1);
52 pref("conkeror.load.page-modes/stackexchange", 1);
53 pref("conkeror.load.page-modes/xkcd", 1);
54 pref("conkeror.load.page-modes/youtube", 1);
55 pref("conkeror.load.page-modes/youtube-player", 1);