Java Scripts in Internet Explorer

  • Thread starter Thread starter ATK31
  • Start date Start date
A

ATK31

I have a problem to activate particular JAVA SCRIPTS on two websites that are
very important to me.

The Java script on one website is

javascript:launchWindow('http://www.xxx.xxx …)

I cannot see the source code of the Java Script on the second website.

(There was no problem till both websites have recently updated their code.)

Deleting TEMP files and cookies does not solve the problem.

MY PC is FULLY UPDATED, including the last update of 09.09.08.

It is very important to me to be able to access these websites.

Thank you for your help.

System data:

== Windows 2000, SP4

== Internet Explorer 6.0.2800.1106, Update Versions SP1, Q823353
 
Hi,
In Internet Options> Security> Internet Zone> Custom Level, make sure that
Scripting> Active scripting is set to "Enable,"

Is a third-party security program blocking JavaScript, scripting, active
content?

Is JavaScript working on other sites? How about this test page
http://liblearn.osu.edu/tutor/jscript.html ?

Hope this helps,
Don
[MS MVP- IE]
 
ATK31 said:
I have a problem to activate particular JAVA SCRIPTS on two websites that are
very important to me.

The Java script on one website is

javascript:launchWindow('http://www.xxx.xxx …)

I cannot see the source code of the Java Script on the second website.

(There was no problem till both websites have recently updated their code.)

Deleting TEMP files and cookies does not solve the problem.

MY PC is FULLY UPDATED, including the last update of 09.09.08.

It is very important to me to be able to access these websites.

Thank you for your help.

System data:

== Windows 2000, SP4

== Internet Explorer 6.0.2800.1106, Update Versions SP1, Q823353



These are site javascript errors, not your machine error, so don't worry
about.

BUG: Error message when you visit a Web page or interact with a Web
application in Internet Explorer: "Operation aborted"
http://support.microsoft.com/default.aspx/kb/927917

Uninstall the old Java from control panel and then download the latest Java
from here:
http://www.java.com/en/download/windows_xpi.jsp?locale=en&host=www.java.com:80
Windows Script 5.6 for Windows XP and Windows 2000:
http://www.microsoft.com/downloads/...43-7E4B-4622-86EB-95A22B832CAA&displaylang=en
Reboot your computer twice and see if that will help.

If that didn't help try this:

Open Internet Explorer.
Click on the menu Tools -> Internet Options.
Click on the tab Security.
Click on the icon Restricted Sites.
Click on the button Sites.
Under Add this website to the zone:
Type the text *..xxx.xxx.com
Click the Add button. Click Close. Click OK.

Or use Firefox:
http://www.mozilla.com/firefox/

HTH,
nass
 
Thank you, Don

Responses to your questions:

1. Active scripting is indeed set to "Enable".

2. JavaScript works fine on other sites. Unfortunately, there is a problem
with two sites that are very important to me.

3. I got the pop-up “You can use JavaScript†on the test site
http://liblearn.osu.edu/tutor/jscript.html

4. I use a Norton firewall.

I am looking for a solution that is based on the MICROSOFT Java Virtual
Machine (VM). I don’t want to install the SUN Java VM becoause of possible
incompatibility problems.

Thank you for your help.


Don Varnau said:
Hi,
In Internet Options> Security> Internet Zone> Custom Level, make sure that
Scripting> Active scripting is set to "Enable,"

Is a third-party security program blocking JavaScript, scripting, active
content?

Is JavaScript working on other sites? How about this test page
http://liblearn.osu.edu/tutor/jscript.html ?

Hope this helps,
Don
[MS MVP- IE]

ATK31 said:
I have a problem to activate particular JAVA SCRIPTS on two websites that are
very important to me.

The Java script on one website is

javascript:launchWindow('http://www.xxx.xxx …)

I cannot see the source code of the Java Script on the second website.

(There was no problem till both websites have recently updated their code.)

Deleting TEMP files and cookies does not solve the problem.

MY PC is FULLY UPDATED, including the last update of 09.09.08.

It is very important to me to be able to access these websites.

Thank you for your help.

System data:

== Windows 2000, SP4

== Internet Explorer 6.0.2800.1106, Update Versions SP1, Q823353
 
Thank you Nass,

Since JavaScripts work fine with other sites, you are surely right. However,
I have a problem with two sites that are very important to me.

There are no error messages displayed. The JavaScript just does nor run.
E.g., no new window is activated with

javascript:launchWindow('http://www.xxx.xxx …)

One cannot uninstall Java from Control Panel/Remove Programs in Windows 2000.

Thank you for your help.
---------.
 
Hi,
Are these publicly accessible sites? Can you post the URLs?

Does the problem persist if you disable (Very briefly- just to test) the
Norton program?

Also, as Nass advised, JavaScript problems would involve Windows Script, not
MS JVM or Sun Java.

Don
[MS MVP- IE]
 
Don,

The sites are with paid subscription. I talked to the both webmasters but
they did not have a solution. One recommended installation of the SUN Java VM.

I use the PC for WORK. I am afraid to install the SUN Java VM because of
possible incompatibility problems and “clashesâ€. I really cannot afford a
“crashâ€.

Note that in Windows 2000 one CANNOT uninstall Java from Control
Panel/Remove Programs.

Is migration to the SUN Java VM a good idea for a system with Windows 2000,
IE 6?

If you recommend a migration, can you please provide some info or a link on
a SAFE way to replace the MS Java with the SUN’s Java from WWW.Java.com?

Thank you very much for your kind help.


Don Varnau said:
Hi,
Are these publicly accessible sites? Can you post the URLs?

Does the problem persist if you disable (Very briefly- just to test) the
Norton program?

Also, as Nass advised, JavaScript problems would involve Windows Script, not
MS JVM or Sun Java.

Don
[MS MVP- IE]

ATK31 said:
Thank you, Don

Responses to your questions:

1. Active scripting is indeed set to "Enable".

2. JavaScript works fine on other sites. Unfortunately, there is a problem
with two sites that are very important to me.

3. I got the pop-up “You can use JavaScript†on the test site
http://liblearn.osu.edu/tutor/jscript.html

4. I use a Norton firewall.

I am looking for a solution that is based on the MICROSOFT Java Virtual
Machine (VM). I don’t want to install the SUN Java VM becoause of possible
incompatibility problems.

Thank you for your help.
 
Hi,
Sorry I didn't complete reading your whole post, so I missed the windows
2000 version :-)
You can use the Clean up tool to uninstall the old Java then install the
new version download cleanup tool from here:
https://www.java.com/en/download/help/5000010800.xml
Also try the windows Script 5.6 engine.
If the above didn't help still try Firefox,. Fox have a VM console on the
Application itself been built to handel Parsing Java Applete/script. Ajx..etc
from programming langauges on the web.
 
Hi,

Thank you for your response.

One cannot uninstall Java from Control Panel/Remove Programs in Windows 2000.

I am very reluctant to use a “cleanup tool†to uninstall the MS Java and
then install the SUN Java because of possible failures, incompatibility
problems and “clashesâ€. (The Java.com site lists many unresolved problems
related to installation of the SUN Java.) I really cannot afford a “crash†on
my PC, which is used for work.

Thank you for your help.
 
ATK31,
With this tool you will uninstall the Old Java from the SunJava not the MS VM?
Read the instructions it work like Add/Remove Programs on XP shows you the
Programs/Products listed and you select whichever program(s) you want to
uninstall!
After uninstalling th Java download and install the Recent version for Java.
NOTE: you can restore your System if anything gone wrong. Or as I said
earlier you can use Firefox browser it will solve your issue and make you
able to access these sites and other sites you may be having problem in the
past with them.
Also the Windows Scripting engine 5.6 will do you any harm!
HTH,
nass
 
Nass,

I do not have any SUN Java on my PC.

No, I can’t. The RESTORE option is a feature that does not exist in W2K. It
was added in WXP.

I assume you meant, “will NOT do you any harmâ€.

With WINDOWS, there is always a high risk that something WILL “do
harmâ€â€¦Therefore, I am reluctant to remove or install programs.

Thank you for your help.
 
ATK31,
The you need to install Java on windows 2000, here is the link:
Java Downloads for All Operating Systems
http://www.java.com/en/download/manual.jsp

I know W2K doesn't have System Restore like XP but here is tip for you:
while on Boot try to start from command prompt and there type:
scanreg /restore and select a restore Point/Date..it will show you by date.
This in case you have trouble in the future!

Or again as I said earlier Use the Firefox..did you tried this option yet?
 
Nass,

Could you please elaborate how you do it?

I did not try Firefox because of the reasons given at the end of my previous
response.

Thank you for your help.
 
ATK31 said:
Nass,


Could you please elaborate how you do it?

I did not try Firefox because of the reasons given at the end of my previous
response.

Thank you for your help.

"nass" wrote:

ATK31,
Why you are going to this route of looking to learn how to restore and
hoping the issue will be resolved by installing the Java or using Firefox!!!
Try the easiest first:
1- Install Firefox
If you can access these sites, no need to carry on with the reset of the
instructions.
2- Install Java Script and reboot
Does it help
3- Install Windows Script engine 5.6 and reboot.

Then here is the Instructions about the scanreg command:
How to Manually Restore the Windows 98/Me Registry
http://support.microsoft.com/kb/221512
Let us know your progress.
Good luck.
nass
 
(Quotes removed because top posting made them a COMPLETE mess)

JavaScript (Note that there is NO space) and Java, despite the similar
names, are completely different things. Changing the Java virtual
machine will have no effect on JavaScript function. You don't even need
a Java virtual machine for JavaScript to work. Like the BASIC acronym,
this is one of those situations where some "clever" developer has
created confusion with their cute product names.

Java applets are compiled code, so you will not be able to view the
source code with any browser's "view source" function(s). You will be
limited to viewing the HTML tags, with their attributes, that call the
applet. Look for <applet> tags that load Java applets, although the
reference I am using indicates that they can also be loaded with the
<object> tag.

I'm thinking the "launchwindow() function might be custom code provided
by the web site, as I don't see it in the reference I am using. Since
the URL includes a domain name, perhaps the security settings (which
might be pop-up blocking) of the browser is objecting to or blocking the
new page being located on a different domain (a script on
"http://www.yyy.com" opening a new window for a page on
"http://www.xxx.com").
 
17.09.08

Hi Robert,

Thank you for your response.

Do you assert that installing the SUN Java VM (www.Java.com) will not solve
the problem?

Nass suggested that I should install “Windows Script 5.6†from Microsoft.
Do you support this advice?

The javascript:launchWindow('http://www.xxx.xxx …) function is what I see on
one of the problematic websites.

I could not find out what is the script on the second problematic website.
The support guy for this site insisted that I should install the SUN Java VM.

Thank you for your help.
 
ATK31 said:
17.09.08

Hi Robert,

Thank you for your response.

Do you assert that installing the SUN Java VM (www.Java.com) will not solve
the problem?

Nass suggested that I should install “Windows Script 5.6†from Microsoft.
Do you support this advice?

The javascript:launchWindow('http://www.xxx.xxx …) function is what I see on
one of the problematic websites.

I could not find out what is the script on the second problematic website.
The support guy for this site insisted that I should install the SUN Java VM.

Thank you for your help.

Since the javascript:launchWindow('http://www.xxx.xxx ...) code appears
to be opening a browser pop-up via a JavaScript function downloaded from
the web site, I think a pop-up blocker is preventing your browser from
opening a browser window associated with the site you are viewing. My
suggestion is to check the pop-up blocker settings for the option to
temporarily allow pop-ups and/or allow you to add to a list of sites
that are permitted to open pop-ups. I also think that setting pop-up
blockers to generate a sound or other indication that they have blocked
a pop-up is worth the minor annoyance of the occasional warning. The
warning also serves as an explanation why you aren't seeing something
the site is legitimately attempting to show you.

It might even be necessary to include the main site and/or the site
where the pop-up is located in Internet Explorer's "Trusted Sites" list.
I can't be to specific about procedures, as I have upgraded to the more
recent Internet Explorer version 7.

I'm not aware of "Windows Script ..." having any connection to the
browser or OS utilizing a script where "javascript" is explicitly
specified as the intended script interpreter (as it is in the code you
quoted). while I can't rule out a corrupted installation, I think it may
be normally loaded as part of the Windows OS.

Be aware that computer system manufacturers and company IT departments
may be prone to installing browser tool bars from sources including, but
not limited to, AOL and Google. Some of those tool bars include pop-up
blocking functions. You may want to try setting these, and any blocker
that might be present in the browser, so that only ONE of the blockers
is actually obstructing pop-ups. That would allow you to maintain a list
of "pop-up allowed" sites in a single place. If you get errors about
your privileges not allowing you to change the pop-up blocker settings
or the contents of allowed site lists you might have to ask your IT
support person or system administrator to do it.

I can't really add much about the second site without more information.
There is a potential to code web pages so that a particular script
engine (JavaScript or vbScript) isn't specified. That might allow
Internet Explorer to default to the Windows script engine while allowing
other browsers to utilize JavaScript. There's enough consistency between
the two that many simple tasks work as well in either engine. A search
for "script" (set for case insensitive where available) in the source
code viewer should show where scripts are used in the web page.

In many pages where Java is utilized the page will need to specify a
location to download the compiled Java applet from. The location for
that applet should include ".class" or ".jar" in a file name
specification. You may be able to search for those strings in the page
source viewer to locate where Java applets are used in a web page.
 
Dear Robert,

Thank you very much for your comprehensive response.

The problem is definitely with the incompetent work of the website designer.
(I did not encounter similar problems with any other website.) However, I
need to use that website, even if it is flawed.

I manage to use the website by right-clicking on
javascript:launchWindow('http://www.xxx.xxx ...) and choosing “open in a new
windowâ€. In the new IE window, I have to edit the text in the “address†line
so that only the URL remains. It is indeed very awkward but it works.

Thank you for your king help.
 
Back
Top