commit a6d0266bf78e0910cfd4d78af04bdca7b2d5549a parent 8cf9bb37c85d5588d64b383264609e1c74d9e78c Author: Alex Balgavy <alex@balgavy.eu> Date: Mon, 2 Dec 2024 02:02:26 +0100 w3m: document siteconf Diffstat:
M | w3m/siteconf | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/w3m/siteconf b/w3m/siteconf @@ -1,3 +1,15 @@ +# Syntax: +# url <url>|/<re-url>/|m@<re-url>@i [exact] +# - <url> is plain +# - /<re-url>/ has to be surrounded in slashes +# - m@<re-url>@ allows custom delimiter. `i` means case-insentive +# +# substitute_url "<destination-url>" +# url_charset <charset> +# no_referer_from on|off +# no_referer_to on|off +# user_agent "string" + # Redirect reddit to its old domain url m@https?://(www\.)*reddit\.com/@ substitute_url "https://old.reddit.com/"