From 50beec7bdc0732cf2f891f7362f5243ad7eec9f4 Mon Sep 17 00:00:00 2001 From: Peter Hofmann Date: Sat, 4 Jan 2020 09:39:24 +0100 Subject: Introduce user-supplied JavaScript files --- man1/lariza.usage.1 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'man1/lariza.usage.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, -- cgit v1.2.3