]> git.rmz.io Git - dotfiles.git/blobdiff - dwb/userscripts/extension_loader.js
dwb: set host specific settings for chakra
[dotfiles.git] / dwb / userscripts / extension_loader.js
index 918c6cc24ccb662b65d2a4dcd35d2806ffa9ecdd..58931f9001baecc0f80ff43acbd672b0ed52af55 100644 (file)
@@ -79,6 +79,7 @@ filterListDir : data.configDir + "/adblock_lists"
 //>adblock_subscriptions___CONFIG
 });
 //>adblock_subscriptions___SCRIPT
+
 //<perdomainsettings___SCRIPT
 extensions.load("perdomainsettings", {
 //<perdomainsettings___CONFIG
@@ -97,29 +98,22 @@ extensions.load("perdomainsettings", {
 //      "example.tld" : { enableScripts : false } 
 // will enable scripts on example.com but not on example.co.uk, example.it, ... 
 
-
-// Settings applied based on the second level domain
-domains : {
-//      "example.com" : { "auto-load-images" : false }, 
-//      "google.tld" : { enableScripts : false, autoLoadImages : false }, 
-        "chakra-project.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/chakra-project.org.css" },
-        "humblebundle.com" :   { "user-stylesheet-uri" : "" }
-},
-
 defaults: {
     "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/default.css"
 },
-
+// Settings applied based on the second level domain
+domains : {
+    "humblebundle.com" :   { "user-stylesheet-uri" : "" }
+},
 //Settings applied based on the hostname
 hosts : {
-//    "www.example.com" : { autoLoadImages : true } 
+    "chakra-project.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/chakra-project.org.css" },
+    "reviewboard.chakra-project.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/reviewboard.chakra-project.org.css" }
 },
-
 // Settings applied based on the uri
 uris : {
 //  "http://www.example.com/foo/" : { autoLoadImages : true } }, 
 },
-
 //>perdomainsettings___CONFIG
 });
 //>perdomainsettings___SCRIPT