integrate sscj stuff
authorDieter Plaetinck <dieter@plaetinck.be>
Tue, 26 May 2009 20:44:01 +0000 (22:44 +0200)
committerDieter Plaetinck <dieter@plaetinck.be>
Tue, 26 May 2009 20:44:01 +0000 (22:44 +0200)
AUTHORS
examples/configs/sampleconfig-dev
examples/scripts/formfiller.pl

diff --git a/AUTHORS b/AUTHORS
index 9d4c865..2212a87 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -15,7 +15,7 @@ Contributors:
     Damien Leon - misc
     Peter Suschlik - backwards searching
     (salinasv) - move some variables to heap
-    Sylvester Johansson (scj) - original form filler script
+    Sylvester Johansson (scj) - form filler script & different take on link follower 
     (mxf) - uzblcat
 
 Originaly based on http://trac.webkit.org/browser/trunk/WebKitTools/GtkLauncher/main.c
index 8652cc1..3deeac1 100644 (file)
@@ -151,6 +151,11 @@ bind ze = spawn ./examples/scripts/formfiller.sh edit
 bind zn = spawn ./examples/scripts/formfiller.sh new
 bind zl = spawn ./examples/scripts/formfiller.sh load
 
+# other - more advanced - implementation using perl: (could not get this to run - Dieter )
+bind LL = spawn ./examples/scripts/formfiller.pl load
+bind LN = spawn ./examples/scripts/formfiller.pl new
+bind LE = spawn ./examples/scripts/formfiller.pl edit
+
 # 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" ?
index 4c351b5..a6e07a0 100755 (executable)
 # new:  fetch new file 
 
 # usage example:
-# bind LL   = spawn /usr/share/uzbl/examples/scripts/formfiller2.pl load
-# bind LN      = spawn /usr/share/uzbl/examples/scripts/formfiller2.pl new
-# bind LE              = spawn /usr/share/uzbl/examples/scripts/formfiller2.pl edit
+# bind LL = spawn /usr/share/uzbl/examples/scripts/formfiller.pl load
+# bind LN = spawn /usr/share/uzbl/examples/scripts/formfiller.pl new
+# bind LE = spawn /usr/share/uzbl/examples/scripts/formfiller.pl edit
 
 use strict;
 use Switch;
 
-my $keydir = $ENV{XDG_CONFIG_HOME} . "/uzbl/keys";
+my $keydir = $ENV{XDG_CONFIG_HOME} . "/uzbl/forms";
 my ($config,$pid,$xid,$fifo,$socket,$url,$title,$cmd) = @ARGV;
 if($fifo eq "") { die "No fifo"; };
 
@@ -27,8 +27,8 @@ sub domain {
   return $url;
 };
 
-#my $editor = "xterm -e vim";
-my $editor = "gvim";
+my $editor = "xterm -e vim";
+#my $editor = "gvim";
 
 # ideally, there would be some way to ask uzbl for the html content instead of having to redownload it with
 #      Also, you may need to fake the user-agent on some sites (like facebook)