]> git.rmz.io Git - dotfiles.git/blob - dwb/userscripts/extension_loader.js
fix userscripts
[dotfiles.git] / dwb / userscripts / extension_loader.js
1 //!javascript
2 //<formfiller___SCRIPT
3 extensions.load("formfiller", {
4 //<formfiller___CONFIG
5 // shortcut that gets and saves formdata
6 scGetForm : "efg",
7
8 // shortcut that fills a form
9 scFillForm : "eff",
10
11 // path to the formdata file
12 formData : data.configDir + "/forms",
13
14 // whether to use a gpg-encrypted file
15 useGPG : true,
16
17 // your GPG key ID (leave empty to use a symmetric cipher)
18 GPGKeyID : "EBC85A93",
19
20 // whether to use a GPG agent (requires non-empty GPGKeyID to work)
21 GPGAgent : true,
22
23 // additional arguments passed to gpg2 when encrypting the formdata
24 GPGOptEncrypt : "",
25
26 // additional arguments passed to gpg2 when decrypting the formdata
27 GPGOptDecrypt : "",
28
29 // whether to save the password in memory when gpg is used
30 keepPassword : true,
31
32 // whether to save the whole formdata in memory when gpg is used
33 keepFormdata : false
34
35 //>formfiller___CONFIG
36 });
37 //>formfiller___SCRIPT
38 //<userscripts___SCRIPT
39 extensions.load("userscripts", {
40 //<userscripts___CONFIG
41 // paths to userscripts, this extension will also load all scripts in
42 // $XDG_CONFIG_HOME/dwb/greasemonkey, it will also load all scripts in
43 // $XDG_CONFIG_HOME/dwb/scripts but this is deprecated and will be
44 // disabled in future versions.
45 scripts : []
46 //>userscripts___CONFIG
47 });
48 //>userscripts___SCRIPT
49 //<adblock_subscriptions___SCRIPT
50 extensions.load("adblock_subscriptions", {
51 //<adblock_subscriptions___CONFIG
52
53 // Shortcut to subscribe to a filterlist
54 scSubscribe : null,
55 // Command to subscribe to a filterlist
56 cmdSubscribe : "adblock_subscribe",
57
58 // Shortcut to unsubscribe from a filterlist
59 scUnsubscribe : null,
60
61 // Command to unsubscribe from a filterlist
62 cmdUnsubscribe : "adblock_unsubscribe",
63
64 // Shortcut to update subscriptions and reload filter rules
65 // Note that dwb will also update all subscriptions on startup
66 scUpdate : null,
67
68 // Command to update subscriptions and reload filter rules
69 // Note that dwb will also update all subscriptions on startup
70 cmdUpdate : "adblock_update",
71
72 // Path to the filterlist directory, will be created if it doesn't exist.
73 filterListDir : data.configDir + "/adblock_lists"
74 //>adblock_subscriptions___CONFIG
75 });
76 //>adblock_subscriptions___SCRIPT