From 1197e8ddbc8348e9437ada42b35c72f38d4698ce Mon Sep 17 00:00:00 2001 From: keis Date: Sat, 26 Feb 2011 23:56:45 +0100 Subject: update config and follow.sh to use new follow.js --- examples/config/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples/config') diff --git a/examples/config/config b/examples/config/config index ab690e0..5c00fb5 100644 --- a/examples/config/config +++ b/examples/config/config @@ -72,6 +72,7 @@ set download_handler = sync_spawn @scripts_dir/download.sh # add some javascript to the page for other 'js' and 'script' commands to access later. @on_event LOAD_COMMIT js uzbl = {}; @on_event LOAD_COMMIT script @scripts_dir/formfiller.js +@on_event LOAD_COMMIT script @scripts_dir/follow.js # Userscripts/per-site-settings. See the script and the example configuration for details #@on_event LOAD_COMMIT spawn @scripts_dir/per-site-settings.py @data_home/uzbl/per-site-settings @@ -327,7 +328,8 @@ set follow_hint_keys = 0123456789 #set follow_hint_keys = qwerty #set follow_hint_keys = asdfghjkl; #set follow_hint_keys = thsnd-rcgmvwb/;789aefijkopquxyz234 -@cbind fl* = spawn @scripts_dir/follow.sh "%s" +@cbind fl* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 0) >\@ +@cbind Fl* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 1) >\@ @cbind gi = spawn @scripts_dir/go_input.sh # Form filler binds -- cgit v1.2.3