]> git.rmz.io Git - dotfiles.git/commitdiff
dwb: load-on-focus
authorSamir Benmendil <samir.benmendil@gmail.com>
Tue, 14 Jan 2014 18:11:05 +0000 (19:11 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Tue, 14 Jan 2014 18:11:05 +0000 (19:11 +0100)
dwb/settings
dwb/userscripts/startup-noautoreload.js [deleted file]

index 3bb199e84ed9be7cc689209e01a5b26f8b12ed07..1a4f3f21816da7ddd57cbf8cd2660a7887a34922 100644 (file)
@@ -51,7 +51,7 @@ enable-favicon=true
 hint-active-color=#00ff00
 resizable-text-areas=true
 javascript-schemes=true
-load-on-focus=false
+load-on-focus=true
 download-gradient-start=#0000aa
 hint-normal-color=#ffff99
 spell-checking-languages=
diff --git a/dwb/userscripts/startup-noautoreload.js b/dwb/userscripts/startup-noautoreload.js
deleted file mode 100644 (file)
index c8dfc24..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-//!javascript
-
-// Prevents previously-opened tabs from reloading all at once after a restart.
-
-execute("set load-on-focus true");
-
-var sigId = Signal.connect("navigation", function(wv) {
-    if (wv == tabs.current)
-    {
-        execute("set load-on-focus false");
-        Signal.disconnect(sigId);
-    }
-});