How do I launch a specific telnet based application from a web browser?

What I would like to do is provide a link on the intranet web page that will start a telnet session and pass the context information to a shell script that will take the user to a specific green screen.

This "pseudolink" can help show what I'm looking for:

<a href="telnet://<user>:<password>@<host>?showdetail%20123">detail for 123</a>

      

Part of this solution could be a suggested telnet client that could interact with browsers (possibly via JavaScript) to accomplish this. Bonus points for obfuscating credentials (but this is supposed to be "read-only" at this point).

Thank!

0


source to share


3 answers


You cannot do this with telnet: url in most browsers (IE, FF, afaik). The telnet url was originally described in RFC 1738 and it only provided information for the hostname, port, username and password.

When you click on it, the browser will usually ask the OS for the default "telnet" handler, which is started by an external application. Most modern telnet clients accept these parameters and use them.



This architecture differs slightly between browsers, but the application is usually external. There was an occasional request to bugzilla.mozilla.org for telnet plugin support or a custom telnet client, but it never got much attention.

There may be built-in solutions like java applet, but I doubt they are being invoked with telnet: url.

+2


source


In my opinion, and I would like to be proven wrong, you will have sandbox (security) issues. See my question, which is of little interest , but I think it is basically the same: you cannot open external applications from the browser unless they are already associated with the mime type, protocol, or something.



+2


source


There are several java applets that can be used as telnet clients, you can use one of them in the browser.

+2


source







All Articles