diff options
author | Josh Rickmar <jrick@devio.us> | 2012-05-14 10:01:08 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-05-15 11:51:59 -0400 |
commit | 298d4dd6df9f5b814310fcbd763de3edce606139 (patch) | |
tree | 9af30edb0959e283f2482aa19dc40cbd4ec3eeb7 | |
parent | be4b65a88e997bb7cdafdf784fc06e158fe100e5 (diff) | |
download | xombrero-298d4dd6df9f5b814310fcbd763de3edce606139.tar.gz |
Add a simple example for enable_js_autorun to the manpage
-rw-r--r-- | xxxterm.1 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xxxterm.1 b/xxxterm.1 index 9960831..ac24163 100644 --- a/xxxterm.1 +++ b/xxxterm.1 @@ -1066,6 +1066,14 @@ does not exist, will be tried instead. The content of the both default and host/domain files are read and executed on each page load. Default is 1. +.Pp +As an example, if you add the line +.Pa alert("Hello, world"); +to your +.Pa default.js , +a pop-up displaying "Hello, world" will be shown on every page reload. +While not useful, any javascript can be run through this mechanism, +making it useful for global or site-specific modifications. .It Cm enable_js_whitelist When enabled all domains must be in the js whitelist in order to run Java Script. |