aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/configs/sampleconfig14
-rw-r--r--examples/configs/sampleconfig-dev13
2 files changed, 20 insertions, 7 deletions
diff --git a/examples/configs/sampleconfig b/examples/configs/sampleconfig
index 732a029..312ab91 100644
--- a/examples/configs/sampleconfig
+++ b/examples/configs/sampleconfig
@@ -105,9 +105,17 @@ bind S = js alert("hi");
# quotes and escape any inner quotes using backslashes
bind XS = sh 'echo "act script alert (\'This is sent by the shell via a fifo\')" > "$4"'
-# Linkfollowing now in one script, very Vimperator alike.
-# In examples/scripts will be different approaches. Here the most stable one:
-bind f* = script /usr/share/uzbl/examples/scripts/follow_Numbers.js %s
+
+# we ship some javascripts to do keyboard based link hinting/following. (webkit does not have C DOM bindings yet)
+# this is similar to how it works in vimperator (and konqueror)
+# TODO: did we resolve: "no click() event for hyperlinks so no referrer set" ?
+#hit F to toggle the Hints (now in form of link numbering)
+bind F = script /usr/share/uzbl/examples/scripts/hint.js
+# the most stable version:
+bind fl* = script /usr/share/uzbl/examples/scripts/follow_Numbers.js %s
+# using strings, not polished yet:
+bind fL* = script /usr/share/uzbl/examples/scripts/follow_Numbers_Strings.js %s
+
# "home" page if you will
set uri = uzbl.org
diff --git a/examples/configs/sampleconfig-dev b/examples/configs/sampleconfig-dev
index d20e98b..c1b136c 100644
--- a/examples/configs/sampleconfig-dev
+++ b/examples/configs/sampleconfig-dev
@@ -110,11 +110,16 @@ bind S = js alert("hi");
# path, fifo & socket dirs, etc.)
bind XS = sh 'echo "act script alert (\\"This is sent by the shell via a fifo\\")" > "$4"'
-# Keyboard based link following: work in progress! No C DOM bindings yet, no click() event for hyperlinks so no referrer set..Quite basic but does the job for now...
+
+# we ship some javascripts to do keyboard based link hinting/following. (webkit does not have C DOM bindings yet)
+# this is similar to how it works in vimperator (and konqueror)
+# TODO: did we resolve: "no click() event for hyperlinks so no referrer set" ?
#hit F to toggle the Hints (now in form of link numbering)
-bind F= script ./examples/scripts/hint.js
-#hit f followed by linknumber and ENTER to follow that link
-bind f_ = js window.location = document.links[%s].href;
+bind F = script ./examples/scripts/hint.js
+# the most stable version:
+bind fl* = script ./examples/scripts/follow_Numbers.js %s
+# using strings, not polished yet:
+bind fL* = script ./examples/scripts/follow_Numbers_Strings.js %s
# "home" page if you will
set uri = uzbl.org