]> git.rmz.io Git - dotfiles.git/blobdiff - dwb/userscripts/extension_loader.js
add c-p.org/bugs
[dotfiles.git] / dwb / userscripts / extension_loader.js
index bb4fe1bb9d152683daf039bb3e480daa8c9b67a2..74fa41fcebb64920277ac6228697a154e633b4ef 100644 (file)
@@ -12,13 +12,13 @@ scFillForm : "eff",
 formData : data.configDir + "/forms",
 
 // whether to use a gpg-encrypted file
-useGPG : false,
+useGPG : true,
 
 // your GPG key ID (leave empty to use a symmetric cipher)
-GPGKeyID : "",
+GPGKeyID : "EBC85A93",
 
 // whether to use a GPG agent (requires non-empty GPGKeyID to work)
-GPGAgent : false,
+GPGAgent : true,
 
 // additional arguments passed to gpg2 when encrypting the formdata
 GPGOptEncrypt : "",
@@ -46,3 +46,31 @@ extensions.load("userscripts", {
 //>userscripts___CONFIG
 });
 //>userscripts___SCRIPT
+//<adblock_subscriptions___SCRIPT
+extensions.load("adblock_subscriptions", {
+//<adblock_subscriptions___CONFIG
+
+// Shortcut to subscribe to a filterlist
+scSubscribe : null, 
+// Command to subscribe to a filterlist
+cmdSubscribe : "adblock_subscribe", 
+
+// Shortcut to unsubscribe from a filterlist
+scUnsubscribe : null, 
+
+// Command to unsubscribe from a filterlist
+cmdUnsubscribe : "adblock_unsubscribe",
+
+// Shortcut to update subscriptions and reload filter rules
+// Note that dwb will also update all subscriptions on startup
+scUpdate : null, 
+
+// Command to update subscriptions and reload filter rules
+// Note that dwb will also update all subscriptions on startup
+cmdUpdate : "adblock_update", 
+
+// Path to the filterlist directory, will be created if it doesn't exist. 
+filterListDir : data.configDir + "/adblock_lists"
+//>adblock_subscriptions___CONFIG
+});
+//>adblock_subscriptions___SCRIPT