summaryrefslogtreecommitdiff
path: root/doc/dwb.1.txt
diff options
context:
space:
mode:
authorportix <none@none>2012-06-12 22:29:09 +0200
committerportix <none@none>2012-06-12 22:29:09 +0200
commite1a3a29d6c1f3f5dd3ed782b04d656166dcfe542 (patch)
treef0f40ca4a7bf11ae6faee25d20d945fb9a542371 /doc/dwb.1.txt
parentebb1594b91813903540b3866d4fc917eebb018eb (diff)
downloaddwb-e1a3a29d6c1f3f5dd3ed782b04d656166dcfe542.zip
New command line option -S/--enable-scripts
Diffstat (limited to 'doc/dwb.1.txt')
-rw-r--r--doc/dwb.1.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/dwb.1.txt b/doc/dwb.1.txt
index eb225efe..102eed1f 100644
--- a/doc/dwb.1.txt
+++ b/doc/dwb.1.txt
@@ -46,6 +46,11 @@ OPTIONS
*-R, --override-restore*::
Open a new session, even if 'save-session' is enabled.
+*-S, --enable-scripts*::
+ Enables the javascript interface, if there are scripts in
+ $XDG_CONFIG_HOME/dwb/userscripts that use the javascript api this option is
+ not needed.
+
*-x, --execute*='commands'::
Execute a list of dwb commands seperated by ';;', see
<<CUSTOM_COMMANDS,'CUSTOM COMMANDS'>>
@@ -587,7 +592,10 @@ Load a html string in a new tab. This command is mainly intended for use in user
'load_html_tab').
*unbound*::
-Execute a javascript snippet that uses the the internal jsapi (command
+Execute a javascript snippet that uses the the internal javascript api. This
+command only works if the javascript interface is enabled, i.e. if there are
+scripts in $XDG_CONFIG_HOME/dwb/userscripts that use the api or if dwb is
+started with -S/--enable-scripts (command
'eval').
*Tab (S-Tab)*::