]>
git.rmz.io Git - dotfiles.git/blob - dwb/userscripts/extension_loader.js
3 extensions
.load("formfiller", {
5 // shortcut that gets and saves formdata
8 // shortcut that fills a form
11 // path to the formdata file
12 formData : data
.configDir
+ "/forms",
14 // whether to use a gpg-encrypted file
17 // your GPG key ID (leave empty to use a symmetric cipher)
20 // whether to use a GPG agent (requires non-empty GPGKeyID to work)
23 // additional arguments passed to gpg2 when encrypting the formdata
26 // additional arguments passed to gpg2 when decrypting the formdata
29 // whether to save the password in memory when gpg is used
32 // whether to save the whole formdata in memory when gpg is used
35 //>formfiller___CONFIG
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.
46 //>userscripts___CONFIG
48 //>userscripts___SCRIPT
49 //<adblock_subscriptions___SCRIPT
50 extensions
.load("adblock_subscriptions", {
51 //<adblock_subscriptions___CONFIG
53 // Shortcut to subscribe to a filterlist
55 // Command to subscribe to a filterlist
56 cmdSubscribe : "adblock_subscribe",
58 // Shortcut to unsubscribe from a filterlist
61 // Command to unsubscribe from a filterlist
62 cmdUnsubscribe : "adblock_unsubscribe",
64 // Shortcut to update subscriptions and reload filter rules
65 // Note that dwb will also update all subscriptions on startup
68 // Command to update subscriptions and reload filter rules
69 // Note that dwb will also update all subscriptions on startup
70 cmdUpdate : "adblock_update",
72 // Path to the filterlist directory, will be created if it doesn't exist.
73 filterListDir : data
.configDir
+ "/adblock_lists"
74 //>adblock_subscriptions___CONFIG
76 //>adblock_subscriptions___SCRIPT