Some lynx versions produce links of the form file:///..., others produce file://localhost/..., so catch both forms. Reported-by: Peter Mattern <matternp@arcor.de> Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>