diff options
author | portix <none@none> | 2013-03-30 13:48:58 +0100 |
---|---|---|
committer | portix <none@none> | 2013-03-30 13:48:58 +0100 |
commit | fd0859acb56a0ac821a02a8ee2d84289e535830f (patch) | |
tree | 3b0fc9f820d80257d2e476bf7e130194312219d4 /doc/dwb.1.txt | |
parent | 32601e5daca3dd695f53b9d29983af8d33b5484e (diff) | |
download | dwb-fd0859acb56a0ac821a02a8ee2d84289e535830f.zip |
Updated api manpage, fixing connectWebView if it is not connected on startup
Diffstat (limited to 'doc/dwb.1.txt')
-rw-r--r-- | doc/dwb.1.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/dwb.1.txt b/doc/dwb.1.txt index e243d275..5645a323 100644 --- a/doc/dwb.1.txt +++ b/doc/dwb.1.txt @@ -1619,8 +1619,8 @@ the script must be defined in the script itself in a commented line of the form Commands can be executed by sending the command to ${DWB_FIFO}. dwb also provides a small javascript api, scripts that use the api must have the -special shebang *#!javascript*, for details see -http://portix.bitbucket.org/dwb/resources/jsapi.html. +special shebang *#!javascript* or start with *//!javascript* for details see +also http://portix.bitbucket.org/dwb/api/ and *dwb-js*(7). Examples ^^^^^^^^ @@ -1650,7 +1650,7 @@ Block requests from specific sites: var block = [ new RegExp("https://example.org.*"), new RegExp("https://example.co.uk.*") ]; -signals.connect("resource", function(wv, frame, request) { +Signal.connect("resource", function(wv, frame, request) { for (var i=0, l=block.length; i<l; ++i) { if (block[i].test(request.uri)) |