about summary refs log tree commit diff stats
path: root/xxxterm.1
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2012-05-15 16:16:04 -0500
committerMarco Peereboom <marco@conformal.com>2012-05-15 16:16:04 -0500
commit4f754eed76c5df14ad48dc30d4e4fb75b73b8856 (patch)
treeaf2c4d132568c7574e681ec31c332b1ba9e1034a /xxxterm.1
parent219c55e2f71d49814a6d3dc9e26c1e791f61f3b0 (diff)
parentb452e1f8b0723c9b93ab9562a7a999418ea16007 (diff)
downloadxombrero-4f754eed76c5df14ad48dc30d4e4fb75b73b8856.tar.gz
Merge branch 'master' of ssh://opensource.conformal.com/git/xxxterm
Diffstat (limited to 'xxxterm.1')
-rw-r--r--xxxterm.18
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.