diff options
author | Marco Peereboom <marco@conformal.com> | 2012-05-15 16:16:04 -0500 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2012-05-15 16:16:04 -0500 |
commit | 4f754eed76c5df14ad48dc30d4e4fb75b73b8856 (patch) | |
tree | af2c4d132568c7574e681ec31c332b1ba9e1034a /xxxterm.1 | |
parent | 219c55e2f71d49814a6d3dc9e26c1e791f61f3b0 (diff) | |
parent | b452e1f8b0723c9b93ab9562a7a999418ea16007 (diff) | |
download | xombrero-4f754eed76c5df14ad48dc30d4e4fb75b73b8856.tar.gz |
Merge branch 'master' of ssh://opensource.conformal.com/git/xxxterm
Diffstat (limited to 'xxxterm.1')
-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. |