Re: Java Scripts in Internet Explorer




"RobertVA" wrote:

(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";).
ATK31 wrote:
> 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.
.



Relevant Pages

  • Re: Java Scripts in Internet Explorer
    ... Also, as Nass advised, JavaScript problems would involve Windows Script, not ... JavaScript works fine on other sites. ... I am looking for a solution that is based on the MICROSOFT Java Virtual ... I cannot see the source code of the Java Script on the second website. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Auto-refresh Netscape 4.79 browser on Linux in C application
    ... You want to look up timed events in Javascript. ... browser has the ability to initiate a data transfer, so you need to have a ... script on the web page periodically poll the server for more data. ... you *don't* need Java installed on either the browser or the ...
    (comp.os.linux.development.apps)
  • Re: Auto-refresh Netscape 4.79 browser on Linux in C application
    ... You want to look up timed events in Javascript. ... browser has the ability to initiate a data transfer, so you need to have a ... script on the web page periodically poll the server for more data. ... you *don't* need Java installed on either the browser or the ...
    (comp.os.linux.development.apps)
  • Using Java from Javascript
    ... Opera and Netscape browsers allow you to include java methods calls in your ... As Javascript has support for objects you can use objects returned by ... The second link executes windows calculator. ... localhost when the script is ...
    (Bugtraq)
  • Re: Java script
    ... Gotta second Jon on this one: JavaScript & Java have *nothing* to do with ... Even the ones that open in script ... (scripting of java applets, script ActiveX controls) ... > There's a difference between javascript and java. ...
    (microsoft.public.windowsxp.general)

Quantcast