summaryrefslogtreecommitdiffstats
path: root/conkeror/.conkerorrc/content-delay.js
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-04-13 12:37:35 +0200
committerGravatar Tom Willemse2016-04-13 12:37:35 +0200
commita65d332001546b6ef24d066903b6a282bb1da1bb (patch)
treeb3704e05db7458a054aa3d541919220ffdbe5f16 /conkeror/.conkerorrc/content-delay.js
parent6c3a9794edea55dd36d2117ac8696ce815afab3b (diff)
downloaddotfiles-a65d332001546b6ef24d066903b6a282bb1da1bb.tar.gz
dotfiles-a65d332001546b6ef24d066903b6a282bb1da1bb.zip
Fix Conkeror config for modern Firefox
Diffstat (limited to 'conkeror/.conkerorrc/content-delay.js')
-rw-r--r--conkeror/.conkerorrc/content-delay.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/conkeror/.conkerorrc/content-delay.js b/conkeror/.conkerorrc/content-delay.js
index 7999090..eaf89db 100644
--- a/conkeror/.conkerorrc/content-delay.js
+++ b/conkeror/.conkerorrc/content-delay.js
@@ -1,3 +1,6 @@
+/*global require content_buffer session_token load_spec
+ * load_spec_uri_string add_hook */
+
/*
This script is a hack that provides delayed loading for content buffers.
@@ -7,6 +10,7 @@ returns the delayed url, not about:blank, so things like tabs and sessions
will still work properly.
*/
+require('session');
function content_delay (spec) {
this.delayed_load = spec;
@@ -45,5 +49,4 @@ function content_delay_do_initial_load (b) {
}
add_hook("create_buffer_early_hook", content_delay_init);
-
add_hook("select_buffer_hook", content_delay_do_initial_load);