summaryrefslogtreecommitdiff
path: root/man1
diff options
context:
space:
mode:
Diffstat (limited to 'man1')
-rw-r--r--man1/lariza.14
-rw-r--r--man1/lariza.usage.19
2 files changed, 13 insertions, 0 deletions
diff --git a/man1/lariza.1 b/man1/lariza.1
index 9c5a92f..cbd3783 100644
--- a/man1/lariza.1
+++ b/man1/lariza.1
@@ -101,6 +101,10 @@ Directory where trusted certificates are stored. See
Configuration file for keyword base searching. See
\fBlariza.usage\fP(1).
.TP
+\fI~/.config\:/lariza\:/scripts\fP
+Directory to store user-supplied JavaScript snippets. See
+\fBlariza.usage\fP(1).
+.TP
\fI~/.local\:/share\:/lariza\:/web_extensions\fP
Sets the directory where WebKit will look for web extensions. See
\fBlariza.usage\fP(1).
diff --git a/man1/lariza.usage.1 b/man1/lariza.usage.1
index 17279cc..fec4bdb 100644
--- a/man1/lariza.usage.1
+++ b/man1/lariza.usage.1
@@ -149,6 +149,15 @@ is where your search term will be placed.
.P
Lines starting with \fB#\fP are ignored.
.\" --------------------------------------------------------------------
+.SH "USER-SUPPLIED JAVASCRIPT FILES"
+After a page has been successfully loaded, the directory
+\fI~/.config\:/lariza\:/scripts\fP will be scanned and each file in it
+ending with \fB.js\fP will be run as a JavaScript file in the context of
+said page.
+.P
+During development, you will most likely want to run \fBlariza\fP with
+$\fBLARIZA_ENABLE_CONSOLE_TO_STDOUT\fP enabled.
+.\" --------------------------------------------------------------------
.SH "TRUSTED CERTIFICATES"
By default, \fBlariza\fP trusts whatever CAs are trusted by WebKit, i.e. by
your GnuTLS installation. If you wish to trust additional certificates,