]> git.rmz.io Git - dotfiles.git/blobdiff - dwb/userscripts/extension_loader.js
vim: add GoldenView bundle
[dotfiles.git] / dwb / userscripts / extension_loader.js
index bd8e413d40e820b5469fe93ba18a98e57d6452fe..0e84349ccc2a0072c541d0c737d430fe674a3c3b 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,28 +98,46 @@ 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" }
-},
-
 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" : "" },
+    "github.com" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/github.com.css" },
+    "stackoverflow.com" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/stackoverflow.com.css" },
+    "superuser.com" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/stackoverflow.com.css" },
+},
 //Settings applied based on the hostname
 hosts : {
-//    "www.example.com" : { autoLoadImages : true } 
+    "plus.google.com" : { "user-stylesheet-uri" : "" },
+    "chakra-project.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/chakra-project.org.css" },
+    "www.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" },
+    "paste.chakra-project.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/paste.chakra-project.org.css" },
 },
-
 // Settings applied based on the uri
 uris : {
 //  "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