Solved

Script to open telnet

Posted on 1998-11-09
1
316 Views
Last Modified: 2006-11-17
I've received a script from Microsoft that can open up a telnet session, it goes as follow:

<html>
<head>
<title>Telnet Script</title>
</head>
<http><body>
<script>
<!---
parent.location.href="telnet://host.com"
-->
</script>
</body></html>

The host is the server that I am trying to open up a telnet with.  I was wondering if this is a Javascript?  If not, can I do something like this with Javascript instead?  I need to do this with Javascript because I need to send the Javascript a variable from my Java application.

joe73
0
Comment
Question by:joe73
1 Comment
 
LVL 10

Accepted Solution

by:
kollegov earned 10 total points
ID: 1273801
<html>
   <head>
   <title>Telnet Script</title>
   </head>
   <http><body>
   <script>
   <!---
   parent.location.href="telnet://host.com"
   //-->
   </script>
   </body></html>

Yes,it's JavaScript, I just corrected missed // in above
cloacking code.
It will works in case of browser have Telnet helpers
registered in preferences
(I checked it with NN4 and MIE4 and it works fine :)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now