aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/data/scripts/follow.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/data/scripts/follow.js b/examples/data/scripts/follow.js
index 782b1d1..2d65489 100644
--- a/examples/data/scripts/follow.js
+++ b/examples/data/scripts/follow.js
@@ -16,10 +16,10 @@ uzbldivid = 'uzbl_link_hints';
uzbl.follow = function() {
// Export
charset = arguments[0];
- if (arguments[2] == 'click') {
+ if (arguments[2] == 0 || arguments[2] == 'click') {
newwindow = false;
returnuri = false;
- } else if (arguments[2] == 'newwindow') {
+ } else if (arguments[2] == 1 || arguments[2] == 'newwindow') {
newwindow = true;
returnuri = false;
} else if (arguments[2] == 'returnuri') {