Update doc-jp for user_agent in siteconf

This commit is contained in:
Tatsuya Kinoshita
2019-07-02 22:31:42 +09:00
parent 778cc49935
commit 74ccde10d9

View File

@@ -14,6 +14,7 @@ substitute_url "<destination-url>"
url_charset <charset> url_charset <charset>
no_referer_from on|off no_referer_from on|off
no_referer_to on|off no_referer_to on|off
user_agent "string"
後ろの方に書かれたものが優先されます。 後ろの方に書かれたものが優先されます。
@@ -41,6 +42,12 @@ url_charset utf-8
同時に "decode_url" オプションをオンにすると、 Wikipedia への 同時に "decode_url" オプションをオンにすると、 Wikipedia への
リンクを UTF-8 としてデコードして表示します。 リンクを UTF-8 としてデコードして表示します。
url m@^https?://(.*\.)google\.com/@
user_agent "Lynx/2.8.8dev.3 libwww-FM/2.14 SSL-MM/1.4.1"
Google に Lynx であると告げます。(これによりテキストブラウザ向けページが
返ります)
===== 正規表現について ===== ===== 正規表現について =====
次の正規表現はいずれも同じ意味を表します。 次の正規表現はいずれも同じ意味を表します。