Javascripts not running on IE 6

  • Thread starter Thread starter jack feinberg
  • Start date Start date
J

jack feinberg

Web sites containing javascripts don't function on my
Internet Explorer 6 in Windows 2000, service pack 4. Any
suggestions? I've tried re-loading windows, IE6, etc.
Thanks.
 
HI Jack - You can test whether Java is working on your machine at the
following
sites:

http://www.pocoso.de/pocoso052.html
http://www.clan.lib.ri.us/clan/javatest.html
http://www.fitwise.com/testjava.asp (both 1.0 and 1.1 and what's
installed)
http://coglab.wadsworth.com/support/browsercheck.html
http://www.ces.clemson.edu/webct/browser_detect.html

and you can test Javascript here:
http://www.dancespots.net/browsertest.htm

and check whether you have the MS VM installed and which version here:
http://www.visualware.com/support/javasupport.html

Be aware, however, that after Jan 2, 2004, MS will apparently no longer
be distributing Java or providing any support for Java including
security fixes. (It's unclear as to how 6/26/03 court decision will
affect this) See here:

http://www.microsoft.com/windowsxp/pro/evaluation/news/jre.asp so you
might want to start thinking about the future.

You can get the Sun Java J2SE RunTimes or SDK here:
http://java.sun.com/downloads/index.html (all versions - select using
the dropdown)

Sun also offers an automatic download and install of the 1.4 Java
plug-in here: http://java.sun.com/getjava/download.html



For the MS Java VM, you may need to install v.3809 prior to upgrading
to v. 3810 if you didn't previous have MS Java v. 3805 or 3809
installed.

If your OS is Win2000 SP2, SP3 but NOT SP4 then you can download and
install the MS Java VM v. 3809 from here:
http://download.windowsupdate.com/m..._510A502BA8F9B6F19230BB2BCCE87D5474AC9DCD.exe
or here:
http://www.biologylab.awlonline.com...icrosoft.Q810030_W2K_SP4_5849/Q810030_W2K.exe

For Win2000 SP4, you'll need to re-install v.3805, from here:
http://www.nhyrvana.com/files/pop.cgi?file=win2kmsjavx86.zip It will
download as Pop.zip. Just unzip it and then execute the resultant
msjavx86. This is the only version that I know of that will re-install
under SP4.

For all other OS's:

Download and install the MS Java VM v. 3809 from one of the links here:
http://www.nhyrvana.com/files/pop.cgi?file=3809.exe (it will be named
pop.exe), or here:
http://www.biologylab.awlonline.com...XP/com_microsoft.javavm_3809_5853/msjavwu.exe,
or here:
http://secinfo.huji.ac.il/patches/Win-xp/msjavwu.exe


Then upgrade to v. 3810:

For all OS's except Win2k, obtain v. 3810 here:
http://fileforum.betanews.com/detail.php3?fid=1050022631

For all versions of Win2k - SP2, SP3 or SP4 - obtain v. 3810 here:
http://download.microsoft.com/downl...-9b18-423356321682/Q816093_W2K_SP4_X86_EN.exe

Both Java VM's can co-exist on your machine quite nicely. Just select
which one you want to use in Tools|Internet Options|Advanced and restart
all IE browsers. Here, courtesy of Michel Gallant, MVP Security, is a
tiny utility which allows you to toggle and view status of your current
Java VM vendor associated with IE:
http://pages.istar.ca/~neutron/SelectIEJVM

A note from Mitch Gallant:

"One note about the JVM Selector utility:
If/when you install a new version of Sun J2SE, you need to manually
select to have Sun JVM as default JVM for IE (in install), or after
install
via the JavaPlugin control panel. This generates the necessary win32
registry
entries, which must be present for the utility to know about JavaPlugin.
After that, the utility should work properly."



--
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP



In
 
jack feinberg said:
Web sites containing javascripts don't function on my
Internet Explorer 6 in Windows 2000, service pack 4. Any
suggestions? I've tried re-loading windows, IE6, etc.
Thanks.

You might want to refresh your scripting engine:
http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001169
or
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/webdev.asp
Windows Script 5.6 for Windows 2000 and XP
http://www.microsoft.com/downloads/...43-7e4b-4622-86eb-95a22b832caa&DisplayLang=en
 
Jim Byrd,
Thank you very much for your prompt reply. Your suggested
tests helped me to narrow down the problem. All of the
tests indicated that everything was working fine on my
machine, although one of the tests warned about Pop-Up
stoppers. So, I turned off Norton Internet Security,
which probably has a pop-up stopper in it, and voila! now
I can run the
Javascript(OpenWindow'spGame_newWin...etc...)
that is on Microsoft's suggested javascript test site:

http://zone.msn.com/bejeweled/

So, I thought all was well.

But then I went to a different site (for Honda cars) and
find that the javascript
L.PageAction does not work. A new page does not open when
I click on the link. Instead I can obtain this error
message:

Line: 1
Char: 1
Error: Object expected
Code: 0
URL: http://www.hondacars.com/models/model_overview.asp?
ModelName=S2000&bhcp=1&BrowserDetected=True

So, the problem is still there? Or does Honda have a bad
site? (No, it works on my son's computer.)


If you have any other suggestions, please let me know.
And thanks for your time,
Jack Feinberg

-----Original Message-----
HI Jack - You can test whether Java is working on your machine at the
following
sites:

http://www.pocoso.de/pocoso052.html
http://www.clan.lib.ri.us/clan/javatest.html
http://www.fitwise.com/testjava.asp (both 1.0 and 1.1 and what's
installed)
http://coglab.wadsworth.com/support/browsercheck.html
http://www.ces.clemson.edu/webct/browser_detect.html

and you can test Javascript here:
http://www.dancespots.net/browsertest.htm

and check whether you have the MS VM installed and which version here:
http://www.visualware.com/support/javasupport.html

Be aware, however, that after Jan 2, 2004, MS will apparently no longer
be distributing Java or providing any support for Java including
security fixes. (It's unclear as to how 6/26/03 court decision will
affect this) See here:

http://www.microsoft.com/windowsxp/pro/evaluation/news/jre ..asp so you
might want to start thinking about the future.

You can get the Sun Java J2SE RunTimes or SDK here:
http://java.sun.com/downloads/index.html (all versions - select using
the dropdown)

Sun also offers an automatic download and install of the 1.4 Java
plug-in here: http://java.sun.com/getjava/download.html



For the MS Java VM, you may need to install v.3809 prior to upgrading
to v. 3810 if you didn't previous have MS Java v. 3805 or 3809
installed.

If your OS is Win2000 SP2, SP3 but NOT SP4 then you can download and
install the MS Java VM v. 3809 from here:
http://download.windowsupdate.com/msdownload/update/v3- 19990518/CabPool/Q810030_W2K_510A502BA8F9B6F19230BB2BCCE87D
5474AC9DCD.exe
or here:
http://www.biologylab.awlonline.com/MSJavaVM/Software/en/c om_microsoft.windows2000/x86win2k/com_microsoft.Q810030_W2K
_SP4_5849/Q810030_W2K.exe

For Win2000 SP4, you'll need to re-install v.3805, from here:
http://www.nhyrvana.com/files/pop.cgi?
file=win2kmsjavx86.zip It will
 
Jim Byrd,
Thanks again for your reply. I downloaded both of the
files you recommended and executed them, but they did not
change the situation.

(Interestingly, I noticed that the 5.6 Security Patch
software was directed to the item "jscript.dll," which
another person on this community bulletin board maintains
was the source of his problem with nonworking javascript
in IE6.)

So, I'm not sure what else to try.

Thanks,
JF
 
Frank Saunders,

On your advice and that of a fellow good samaritan (Jim
Byrd), I reinstalled Windows Script 5.6. I don't think it
changed anything. For example, by clicking in a web site
for Honda automobiles

http://www.hondacars.com/models/model_overview.asp?
ModelName=S2000&bhcp=1&BrowserDetected=True

I still cannot make these javascripts execute:

javascript:LPageAction
or javascript:doNetDetect()
or javascript:history.back(1)

and probably lots of others...

Thanks for your reply,
Jack Feinberg
 
HI Jack - OK, lets try this. Some of it's not directly applicable to your
problem, but it won't hurt to check anyway.

1. Go to Start|Run and enter one line at a time (or even easier, open a DOS
box and copy the following in its entirety and then paste it into the box):

regsvr32 comcat.dll
regsvr32 Shdocvw.dll
regsvr32 Oleaut32.dll
regsvr32 Actxprxy.dll
regsvr32 Mshtml.dll
regsvr32 Urlmon.dll
regsvr32 Shell32.dll
regsvr32 Msoeacct.dll
regsvr32 "C:\Program Files\Outlook Express\Msoe.dll"
regsvr32 msjava.dll
regsvr32 jscript.dll
regsvr32 browseui.dll
regsvr32 Stdole2.tlb
regsvr32 Olepro32.dll
regsvr32 Msjet40.dll
regsvr32 Msjtor40.dll
regsvr32 Dao360.dll


with a Return after each .dll. You'll get a message about successful
completion of the re-registration process after each one which you'll need
to OK, then enter the next (with the DOS box they'll be continuous except
for the last one where you'll need to enter a Return).

If you use Win98x and get an error on Shell32.dll, ignore it. Only the ME,
Win2k and XP versions of windows have shell32 as an object that needs
registering. (For these earlier operating systems, run "regsvr32
shdoc401.dll " instead of "regsvr32 Shell32.dll".) Depending on your
system, you may also get "not found" error messages on the last two - if so,
ignore them.

Re-start your computer when you've finished.

2. Some links to additional possible solutions are given here:
http://www.mvps.org/inetexplorer/answers.htm#new_window
Also see: http://support.microsoft.com/?kbid=281679 for certain registry
checks that can be made.

3. You can also do the following, but BE AWARE that it will reset to the
default Homepage and Search. Go to: IE/Tools/Internet Options/Programs/
and click Reset Web Settings.


4. And now go to Windows Explorer/Tools/Folder Options/File Types. Scroll
down to URL:HyperText Transfer Protocol/Advanced/Edit. Under Application
used to perform action it should read: "C:\Program Files\Internet
Explorer\iexplore.exe" -nohome

(Check the path to iexplore.exe to make sure that is correct and use the
double quotes. It may be "%SystemDrive%:\Program Files\Plus!\Microsoft
Internet" for NT4. )

DDE should be set to: "%1",,-1,0,,,,
Application should say: IExplore
DDE application not running should be blank
Topic should be: WWW_OpenURL

The above settings should also be there for URL:Gopher.

Here's a more detailed procedure for this if you have difficulty, courtesy
of Robert Aldwinckle:

"1. Find Files for E:\Program Files\iexplore.exe
(That's a partial path I'm giving it to just get there quicker.)
2. Use Alt-Enter to open the Properties for that file
3. Click on the Location: field. Select it all (Shift-F10,A)
4. Copy it to the clipboard. (Shift-F10,C)
5. Open Folder Options and navigate to
Editing action for type: URL: Hypertext Transfer Protocol
6. In the box labeled Application used to perform action (Alt-L)
highlight everything _between_ the first doublequote and the
last backslash. NB: leave unhighlighted the characters I mention
and everything after the last backslash.
7. Press Ctrl-v
8. Close the dialogs.

....
If there are other protocols you need fixed do them in the same way.

Here's what my procedure is based on. It will give you a
bit more detail about step 5 which is OS dependent.
FWIW I start Folder Options using my Start menu
(Win,s,f) (I'm using Windows NT + WDU.)

OLEXP: Internet Shortcuts in Outlook Express Do Not Start Web Browser
(Q177054)"


See if that helps.



--
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP



In
 
jack feinberg said:
Frank Saunders,

On your advice and that of a fellow good samaritan (Jim
Byrd), I reinstalled Windows Script 5.6. I don't think it
changed anything. For example, by clicking in a web site
for Honda automobiles

http://www.hondacars.com/models/model_overview.asp?
ModelName=S2000&bhcp=1&BrowserDetected=True

I still cannot make these javascripts execute:

javascript:LPageAction
or javascript:doNetDetect()
or javascript:history.back(1)

and probably lots of others...

Thanks for your reply,
Jack Feinberg

I'm afraid I don't know,
 
Jim Byrd,
Wow. You're putting almost as much time into this as I am.

I went through your procedures step by step, making sure
all of the .dll files were registered. It didn't help.

Then I tried the simple step you suggested of
clicking "Reset Web Settings" in the IE/Tools/Internet
Options/Programs.

I believe that did the trick. All web sites open fine now,
even those with javascripts.

Thank you again for all of your help. If you should ever
need help with optics or lasers, let me know.

Jack Feinberg
Dept. of Physics
USC
 
YW, Jack - Glad you finally got it working.

--
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP



In
 
Jim Byrd,
Interestingly, when I restarted my computer this morning,
the problem was back. Clearly something is getting reset
incorrectly upon Restart. But I accidentally found a fix,
and I thought that you might be able to tell me what is
really going on.

There is a site by Honda that lets you search for dealers,
etc. When I go to this site and try to click on the "Find
Dealer" I get no response. The screen just sits there. At
that stage the link looks like this:

http://www.hondacars.com/models/model_overview.asp?
ModelName=S2000&bhcp=1&BrowserDetected=False&BrowserDetecte
d=True

So, as I sat there staring at that non-working page, I
decided to change that last word "True" to "False" to see
what would happen. (Mind you, I'm not a programmer, so I
had no rational motive here.) The site responded with this:

http://www.hondacars.com/models/model_overview.asp?
ModelName=S2000&bhcp=1&BrowserDetected=False&BrowserDetecte
d=True

And now it would open a new window if a clicked on the
appropriate button!

So what do think is happening?

Jack
 
Hi Jack - Which VM are you currently using, Sun or MS?

--
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP



In
 
Hi Jack - Well, it shouldn't affect it if it's really a scripting problem,
but I've seen stranger things. I'm going to suggest that you also install
the Sun VM and try it to see if that affects the problem.

First, though I'd like you to make sure that there isn't some malware
involved that may be causing (contributing) to this problem. The fact that
the problem returned when you rebooted is very suspicious. Please go
through the following procedure at least through updating and running
AdAware and SpyBot S&D, using HijackThis and the other Startup vector
controllers, and the stuff about BHO's. Also take a look in Add-Remove
Programs and see if you notice any "strangers" there.
..


If you go to this page at Jim Eshelman's site, here:
http://aumha.org/a/noads.htm and wait a little bit (be patient), an analysis
of a number of possible parasites on your machine will be made to help you
identify and remove them. NOTE: You will need to disable Ad Blocking in
Zone Alarm 3.x, if present or any other Ad Blocking software which
interferes with Java Scripting for this scan to work. You should get a
message between the two lines of **** giving the results of the scan.

For the general hijack case, the best way to start is to get Ad-Aware 6.0,
Build 181 or later, here: http://www.lavasoftusa.com/support/download/.
Update and run this regularly to get rid of most "spyware/hijackware" on
your machine. If it has to fix things, be sure to re-boot and rerun
AdAware again and repeat this cycle until you get a clean scan. The reason
is that it may have to remove things which are currently "in use" before it
can then clean up others.

Another excellent program for this purpose is SpyBot Search and Destroy
available here: http://security.kolla.de/ SpyBot Support Forum here:
http://www.net-integration.net/cgi-bin/forums/ikonboard.cgi. I recommend
using both normally. After fixing things with SpyBot S&D, be sure to
re-boot and rerun SpyBot again and repeat this cycle until you get a clean
"no red" scan. The reason is that SpyBot sometimes has to remove things
which are currently "in use" before it can then clean up others.


Note that sometimes you need to make a judgement call about what these
programs report as spyware. See here, for example:
http://www.imilly.com/alexa.htm

Lastly, a very useful utility for examining your system and correcting
problems is Hijack This, which you can download here:
http://www.spywareinfo.com/~merijn/files/hijackthis.zip See also,
HijackThis Quick Start Help, http://www.tomcoyote.org/hjt/ (Recommended)
This site has a number of useful references and information also:
http://www.spywareinfo.com/articles/hijacked/ and here
http://www.spywareinfo.com/downloads.php

Another program giving a good inventory of all of the possible start vectors
is AutostartExplorer, here: http://www.misec.net/aexp.jsp While it doesn't
allow control of startups, it's extremely comprehensive in examining all of
the possible sources. Highly Recommended

Next, go here: http://www.mlin.net/StartupCPL.shtml and get Mike Lin's
Startup Control Panel applet. A somewhat more difficult to use but more
extensive program to do the same thing is StartupList from here:
http://www.lurkhere.com/~nicefiles/index.html, or even better, Autoruns from
here: http://www.sysinternals.com/ntw2k/source/misc.shtml#autoruns. Be
very careful about doing any Registry modifications directly unless you're
comfortable with this, and be sure that you BACKUP your Registry before
making any changes, so that you can recover if something goes wrong.
Changes made with StartUpCPL are less likely to cause problems, and are
usually a matter of just re-enabling the particular program. Another
program of this type that I can recommend is StartMan, free, here:
http://www.spywareinfo.com/downloads/startman/. If you have problems with
suspected hijackers, you can look up and investigate suspect programs in
your StartUp lists here:
http://www.pacs-portal.co.uk/startup_pages/startup_full.htm (Recommended)
http://www.3feetunder.com/krick/startup/list.html (Recommended)
http://www.answersthatwork.com/Tasklist_pages/tasklist.htm (Recommended)


Some hijackers install themselves as Browser Helper Objects. Get BHOCop
here: BHO Cop http://www.pcmag.com/article2/0,4149,270,00.asp
(Unfortunately, no longer free from that link but you can read about it
there, and here is a direct download link for it:
http://websec.arcady.fr/bhocop.zip) and take a look at what BHO's are
currently installed. Some things like AdShield and Acrobat are normal, but
if you see something that doesn't make any sense, try disabling it and see
if that helps. Another excellent program for this same purpose is BHODemon,
(still free) here: http://www.definitivesolutions.com/ or here:
http://www.spywareinfo.com/downloads/bhod/ I would recommend both. You can
also check/control BHO's using the Tools function of SpyBot S&D.


If ALL of this comes up clean, you might want to consider installing the
SpywareBlaster and SpywareGuard here to help prevent this kind of thing from
happening in the future:
http://www.wilderssecurity.com/spywareblaster.html (Prevents malware Active
X installs) (BTW, SpyWare Blaster is not memory resident ... no CPU or
memory load - but keep it updated) The latest version as of this writing
will prevent installation or prevent the malware from running if it is
already installed (currently 812 malware components), and it provides
information and fixit-links for a variety of parasites.
http://www.wilderssecurity.net/spywareguard.html (Monitors for attempts to
install malware) Both Very Highly Recommended.


Now, as to Sun Java. You can get the Sun Java J2SE RunTimes or SDK here:
http://java.sun.com/downloads/index.html (all versions - select using
the dropdown)

Sun also offers an automatic download and install of the 1.4 Java
plug-in here: http://java.sun.com/getjava/download.html


Both Java VM's can co-exist on your machine quite nicely. Just select
which one you want to use in Tools|Internet Options|Advanced and restart
all IE browsers. Here, courtesy of Michel Gallant, MVP Security, is a
tiny utility which allows you to toggle and view status of your current
Java VM vendor associated with IE without restarting IE:
http://pages.istar.ca/~neutron/SelectIEJVM

A note from Mitch Gallant:

"One note about the JVM Selector utility:
If/when you install a new version of Sun J2SE, you need to manually
select to have Sun JVM as default JVM for IE (in install), or after
install via the JavaPlugin control panel. This generates the necessary win32
registry entries, which must be present for the utility to know about
JavaPlugin.
After that, the utility should work properly."


--
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP



In
 
http://www.hondacars.com/models/model_overview.asp?ModelName=S2000&bhcp=1&BrowserDetected=True

How did you get that link?

Trying to use it as is I also get a script error
but after clicking on the link for the Home page
and then clicking on the link for the S2000
I see that that link is an intermediate page
leading here:

< http://www.hondacars.com/models/model_overview.asp?ModelName=S2000 >

which just shows Done in the status bar.

So, if your browser is stopping at that first page and not
permitting itself to be re-directed to that second page,
one could guess that your Security settings may have
Allow META REFRESH
set to disabled.

Hmm... I just retried the first link and it now works cleanly.
That suggests that Cookies are probably a factor too.
E.g. the first time I didn't have one because I was trying to use
a "back door". The next time, I did have one because I had
gone through a front door (e.g., the site's Home page).


HTH

Robert Aldwinckle
 
Back
Top