]> git.rmz.io Git - dotfiles.git/blobdiff - dwb/userscripts/extension_loader.js
dwb: remove config
[dotfiles.git] / dwb / userscripts / extension_loader.js
diff --git a/dwb/userscripts/extension_loader.js b/dwb/userscripts/extension_loader.js
deleted file mode 100644 (file)
index dcea6b0..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-//!javascript
-
-//extensions.load("userstyles", {
-//  scripts : []
-//});
-
-//<formfiller___SCRIPT
-extensions.load("formfiller", {
-//<formfiller___CONFIG
-// shortcut that gets and saves formdata
-scGetForm : "efg",
-
-// shortcut that fills a form
-scFillForm : "eff",
-
-// path to the formdata file
-formData : data.configDir + "/forms",
-
-// whether to use a gpg-encrypted file
-useGPG : true,
-
-// your GPG key ID (leave empty to use a symmetric cipher)
-GPGKeyID : "EBC85A93",
-
-// whether to use a GPG agent (requires non-empty GPGKeyID to work)
-GPGAgent : true,
-
-// additional arguments passed to gpg2 when encrypting the formdata
-GPGOptEncrypt : "",
-
-// additional arguments passed to gpg2 when decrypting the formdata
-GPGOptDecrypt : "",
-
-// whether to save the password in memory when gpg is used
-keepPassword : true,
-
-// whether to save the whole formdata in memory when gpg is used
-keepFormdata : false
-
-//>formfiller___CONFIG
-});
-//>formfiller___SCRIPT
-
-//<userscripts___SCRIPT
-extensions.load("userscripts", {
-//<userscripts___CONFIG
-  // paths to userscripts, this extension will also load all scripts in 
-  // $XDG_CONFIG_HOME/dwb/greasemonkey, it will also load all scripts in
-  // $XDG_CONFIG_HOME/dwb/scripts but this is deprecated and will be
-  // disabled in future versions.
-  scripts : []
-//>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
-
-//<perdomainsettings___SCRIPT
-extensions.load("perdomainsettings", {
-//<perdomainsettings___CONFIG
-// Only webkit builtin settings can be set, for a list of settings see 
-// http://webkitgtk.org/reference/webkitgtk/unstable/WebKitWebSettings.html
-// All settings can also be used in camelcase, otherwise they must be quoted.
-// 
-// The special domain suffix .tld matches all top level domains, e.g. 
-// example.tld matches example.com, example.co.uk, example.it ... 
-//
-// Settings based on uri will override host based settings and host based
-// settings will override domain based settings. Settings for domains/hosts/uris
-// with without tld suffix will override settings for
-// domains/hosts/uris with tld suffix respectively, e.g. 
-//      "example.com" : { enableScripts : true }, 
-//      "example.tld" : { enableScripts : false } 
-// will enable scripts on example.com but not on example.co.uk, example.it, ... 
-
-defaults: {
-    "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/default.css"
-},
-// Settings applied based on the second level domain
-domains : {
-    "duckduckgo.com" :     { "user-stylesheet-uri" : "" },
-    "facebook.com" :       { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/facebook.com.css" },
-    "github.com" :         { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/github.com.css" },
-    "humblebundle.com" :   { "user-stylesheet-uri" : "" },
-    "imgur.com" :          { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/imgur.com.css" },
-    "paradoxplaza.com":    { "user-stylesheet-uri" : "" },
-    "reddit.com" :         { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/reddit.com.css" },
-    "soundcloud.com" :     { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/soundcloud.com.css" },
-    "stackexchange.com" :  { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/stackoverflow.com.css" },
-    "stackoverflow.com" :  { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/stackoverflow.com.css" },
-    "steamcommunity.com":  { "user-stylesheet-uri" : "" },
-    "steampowered.com":    { "user-stylesheet-uri" : "" },
-    "superuser.com" :      { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/stackoverflow.com.css" },
-    "tardis" :             { "user-stylesheet-uri" : "" },
-    "tardis.uni.cx" :      { "user-stylesheet-uri" : "" },
-    "thetvdb.com" :        { "user-stylesheet-uri" : "" },
-    "trakt.tv" :           { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/trakt.tv.css" },
-    "usenet-crawler.com" : { "user-stylesheet-uri" : "" },
-    "wikipedia.org" :      { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/wikipedia.org.css" },
-    "xkcd.com" :           { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/xkcd.com.css" },
-},
-//Settings applied based on the hostname
-hosts : {
-    "chakraos.org" :             { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/chakra-project.org.css" },
-    "docs.pointclouds.org" :     { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/doxygen.css" },
-    "docs.ros.org" :             { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/doxygen.css" },
-    "git.rmz.io" :               { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/gitweb.css" },
-    "git.chakraos.org" :         { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/gitweb.css" },
-    "maps.google.com" :          { "user-stylesheet-uri" : "" },
-    "paste.chakraos.org" :       { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/paste.chakra-project.org.css" },
-    "plus.google.com" :          { "user-stylesheet-uri" : "" },
-    "www.chakraos.org" :         { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/chakra-project.org.css" },
-},
-// Settings applied based on the uri
-uris : {
-    "http://chakraos.org/reviewboard/" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/reviewboard.chakra-project.org.css" },
-    ".*www.google.com/maps/.*" :      { "user-stylesheet-uri" : "" },
-//  "http://www.example.com/foo/" : { autoLoadImages : true } }, 
-},
-//>perdomainsettings___CONFIG
-});
-//>perdomainsettings___SCRIPT
-
-//<simplyread___SCRIPT
-extensions.load("simplyread", {
-//<simplyread___CONFIG
-// Shortcut to toggle simplyread
-shortcut : "SR", 
-
-// Command to toggle simplyread
-command : "simplyread",
-
-// Whether to use a stylesheet
-nostyle : false, 
-
-// Whether to show links
-nolinks : false 
-
-//>simplyread___CONFIG
-});
-//>simplyread___SCRIPT