1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

[pod2hml] podchecker reported some errors about hooks.pl

This commit is contained in:
Witold Filipczyk 2020-09-20 22:20:27 +02:00
parent c8acb75bcd
commit 3f8de99828

View File

@ -100,6 +100,7 @@ powerful.
=over =over
=item
I<Developer's usage>: The function I<goto_url_hook> is called when the hook is I<Developer's usage>: The function I<goto_url_hook> is called when the hook is
triggered, taking the target URL and current URL as its two arguments. It triggered, taking the target URL and current URL as its two arguments. It
returns the final target URL. returns the final target URL.
@ -1077,6 +1078,7 @@ These hooks effect a URL before ELinks has a chance to load it.
=over =over
=item
I<Developer's usage>: The function I<follow_url_hook> is called when the hook I<Developer's usage>: The function I<follow_url_hook> is called when the hook
is triggered, taking the target URL as its only argument. It returns the final is triggered, taking the target URL as its only argument. It returns the final
target URL. target URL.
@ -1147,6 +1149,7 @@ available.
=over =over
=item
I<Developer's usage>: The function I<pre_format_html_hook> is called when the I<Developer's usage>: The function I<pre_format_html_hook> is called when the
hook is triggered, taking the document's URL and the HTML source as its two hook is triggered, taking the document's URL and the HTML source as its two
arguments. It returns the rewritten HTML code. arguments. It returns the rewritten HTML code.
@ -1252,6 +1255,7 @@ you want to use some anonymizer for access to certain sites.
=over =over
=item
I<Developer's usage>: The function I<proxy_for_hook> is called when the hook is I<Developer's usage>: The function I<proxy_for_hook> is called when the hook is
triggered, taking the target URL as its only argument. It returns the proxy triggered, taking the target URL as its only argument. It returns the proxy
URL, empty string to use no proxy or I<undef> to use the default proxy URL. URL, empty string to use no proxy or I<undef> to use the default proxy URL.
@ -1290,6 +1294,7 @@ stuff.
=over =over
=item
I<Developer's usage>: The function I<quit_hook> is called when the hook is I<Developer's usage>: The function I<quit_hook> is called when the hook is
triggered, taking no arguments nor returning anything. ('cause, you know, what triggered, taking no arguments nor returning anything. ('cause, you know, what
would be the point?) would be the point?)