[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Script to open telnet

Posted on 1998-11-09
1
Medium Priority
?
383 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
kollegov earned 20 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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
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…

649 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