"Kelly Jones" <[EMAIL PROTECTED]> writes:

> I tried "Goto" "run:/bin/ls", but got back:
>
> This URL contains a protocol not yet known by ELinks.
> You can configure an external handler for it through
> the options system.
>
> How would I do this? Using the 'user:' protocol w/ lua somehow?

I don't know how user protocols work.  But if you define a
protocol that runs arbitrary shell commands, you enable attacks
where a malicious web page runs such a command, pretending to get
a style sheet from the output.  So I advise against defining such
risky protocols until ELinks gets a way to disable a link based
on its source.

Instead, you could define a "goto-url" hook, as ELinks does not
call that when following a link from a document.  (There is a
separate "follow-url" hook that is called for those.)
_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to