summaryrefslogtreecommitdiff
path: root/scripts/lib/data.js
blob: 0f49e5aad33ab883c69b1d6a4cd27c9bf987b52f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
(function () {
  var configDir = data.configDir;
  var profile = data.profile;
  Object.defineProperties(data, {
      /** 
       * The bookmark file
       * @name bookmarks 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "bookmarks" :  { value : configDir + "/" + profile + "/bookmarks", enumerable : true }, 
      /** 
       * The history file
       * @name history 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "history"   :  { value : configDir + "/" + profile + "/history", enumerable : true },
      /** 
       * The cookie file
       * @name cookies 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "cookies"   :  { value : configDir + "/" + profile + "/cookies", enumerable : true }, 
      /** 
       * The quickmarks file
       * @name quickmarks 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "quickmarks" : { value : configDir + "/" + profile + "/quickmarks", enumerable : true },
      /** 
       * The whitelist for persistent cookies
       * @name cookiesWhitelist 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "cookiesWhitelist"  :  { value : configDir + "/" + profile + "/cookies.allow", enumerable : true }, 
      /** 
       * The whitelist for session cookies
       * @name sessionCookiesWhitelist 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "sessionCookiesWhitelist"   :  { value : configDir + "/" + profile + "/cookies_session.allow", enumerable : true }, 
      /** 
       * The whitelist for plugins
       * @name pluginsWhitelist 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "pluginsWhitelist"  :  { value : configDir + "/" + profile + "/plugins.allow", enumerable : true }, 
      /** 
       * The whitelist for scripts
       * @name scriptWhitelist 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "scriptWhitelist"   :  { value : configDir + "/" + profile + "/scripts.allow", enumerable : true }, 
      /** 
       * The session file
       * @name session 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "session"   :  { value : configDir + "/" + profile + "/session", enumerable : true }, 
      /** 
       * The custom keys file
       * @name customKeys 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "customKeys"  :  { value : configDir + "/" + profile + "/custom_keys", enumerable : true }, 
      /** 
       * The keyboard configuration file
       * @name keys 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "keys"  :  { value : configDir + "/keys", enumerable : true }, 
      /** 
       * The settings configuration file
       * @name settings 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "settings"  :  { value : configDir + "/settings", enumerable : true }, 
      /** 
       * The searchengines file
       * @name searchengines 
       * @memberOf data
       * @readonly
       * @type String
       * */
      "searchEngines"   :  { value : configDir + "/searchengines", enumerable : true }, 
  });
})();
Object.freeze(data);