Update README for scheme_handler.
authorTom Adams <tom@holizz.com>
Sat, 25 Jul 2009 21:56:09 +0000 (22:56 +0100)
committerTom Adams <tom@holizz.com>
Sat, 25 Jul 2009 21:56:09 +0000 (22:56 +0100)
README

diff --git a/README b/README
index c97b25e..bd4d465 100644 (file)
--- a/README
+++ b/README
@@ -198,7 +198,7 @@ Some variables have callback functions which will get called after setting the v
   - download_handler
   - cookie_handler
   - new_window: handler to execute to invoke new uzbl window (TODO better name)
-  - scheme_handler: handler to be executed for all URIs not of the http/https/data/about/file schema
+  - scheme_handler: handler to execute for each URI navigated to - the navigation request will be ignored if handler prints "USED\n"
   - fifo_dir: location to store fifo's
   - socket_dir: location to store sockets
   - http_debug: http debug mode (value 0-3)
@@ -365,6 +365,10 @@ The script specific arguments are this:
     $11 request address path
     $12 cookie (only with PUT requests)
 
+* scheme handler:
+
+    $8 URI of the page to be navigated to
+
 
 Custom, userdefined scripts (`spawn foo bar`) get first the arguments as specified in the config and then the above 7 are added at the end.