JavaScript is blocked

G

Guest

I recently installed the latest version of Windows XP with SP2. It's my
first experience with XP. I have discovered that whenever I open any page
with JavaScript (even on my local machine), IE displays a yellow banner at
the top of the page saying "IE has restricted this file from showing active
content...". I have to right-click on the banner and select Allow Blocked
Content. While I appreciate MS trying to protect my machine, this is growing
increasingly annoying, especially since, as a web developer, I am actually
coding JavaScript functions for testing. I have turned off the Pop-up
Blocker but that did not solve the problem. At this point, I just want to
enable JavaScript for ALL sites so that IE behaves as it did when I was using
Windows 2000. How do I do this?
 
J

Jan Il

Hi Jay D :)

Javascript is not included in XP or SP2. You have to install it. Try the
following and see if it helps:

Download the Microsoft Java VM for Windows XP here
http://windowsupdate.microsoft.com
download from one of these locations
http://www.download.windowsupdate.c..._CD24D109B33421DB6728FBDC80C9F572EB7A3865.exe
or
http://ftp.uni-stuttgart.de/pub/systems/win95/fixes/VM/msjavx86.exe
or
ftp://ftp.uq.edu.au/mirror/microsoft/patches/winxp/javavm_3319_MIL_4275/MSJavx86.exe

or...

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

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

If you want the latest and greatest, you can link to a download for the J2SE
5.0 JRE here:
http://java.sun.com/j2se/1.5.0/download.jsp

Click Star Click on Start -- Run
Type Regsvr32 softpub.dll
and
REGSVR32 JSCRIPT
Click OK

If these steps do not resolve your problem, please post back to this thread
with the details and any error messages.

Hope this helps

Jan :)
Smiles are meant to be shared,
that's why they're so contagious.

Please reply to the newsgroup so others may benefit.
Replies are posted only to the newsgroup for the benefit or other readers.

How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm




Allow active content to run in files on My Computer - Windows XP Service
Pack 2:
http://www.winxptutor.com/lmzunlock.htm

You might also try installing the Windows Script 5.6 for Windows 2000 and XP
if you have not already done so. The install includes a new jscript.dl
http://www.microsoft.com/downloads/...43-7E4B-4622-86EB-95A22B832CAA&displaylang=en
 
T

Tom Pepper Willett

Support for Javascript *is* included. Java Virtual Machine is not.
Javascript does not depend on the JVM.

Tom

| Hi Jay D :)
|
| Javascript is not included in XP or SP2. You have to install it. Try the
| following and see if it helps:
|
| Download the Microsoft Java VM for Windows XP here
| http://windowsupdate.microsoft.com
| download from one of these locations
|
http://www.download.windowsupdate.c..._CD24D109B33421DB6728FBDC80C9F572EB7A3865.exe
| or
| http://ftp.uni-stuttgart.de/pub/systems/win95/fixes/VM/msjavx86.exe
| or
|
ftp://ftp.uq.edu.au/mirror/microsoft/patches/winxp/javavm_3319_MIL_4275/MSJavx86.exe
|
| or...
|
| You can get the Sun Java J2SE RunTimes or SDK here:
| http://java.sun.com/downloads/index.html
| (all versions - select using the dropdown) or here:
| http://www.java.com/en/download/windows_automatic.jsp
|
| Sun also offers an automatic download and install of the 1.4 Java plug-in
| here:
| http://java.sun.com/getjava/download.html
|
| If you want the latest and greatest, you can link to a download for the
J2SE
| 5.0 JRE here:
| http://java.sun.com/j2se/1.5.0/download.jsp
|
| Click Star Click on Start -- Run
| Type Regsvr32 softpub.dll
| and
| REGSVR32 JSCRIPT
| Click OK
|
| If these steps do not resolve your problem, please post back to this
thread
| with the details and any error messages.
|
| Hope this helps
|
| Jan :)
| Smiles are meant to be shared,
| that's why they're so contagious.
|
| Please reply to the newsgroup so others may benefit.
| Replies are posted only to the newsgroup for the benefit or other readers.
|
| How to make a good newsgroup post:
| http://www.dts-l.org/goodpost.htm
|
|
|
|
| Allow active content to run in files on My Computer - Windows XP Service
| Pack 2:
| http://www.winxptutor.com/lmzunlock.htm
|
| You might also try installing the Windows Script 5.6 for Windows 2000 and
XP
| if you have not already done so. The install includes a new jscript.dl
|
http://www.microsoft.com/downloads/...43-7E4B-4622-86EB-95A22B832CAA&displaylang=en
|
|
|
| > I recently installed the latest version of Windows XP with SP2. It's my
| > first experience with XP. I have discovered that whenever I open any
page
| > with JavaScript (even on my local machine), IE displays a yellow banner
at
| > the top of the page saying "IE has restricted this file from showing
| active
| > content...". I have to right-click on the banner and select Allow
Blocked
| > Content. While I appreciate MS trying to protect my machine, this is
| growing
| > increasingly annoying, especially since, as a web developer, I am
actually
| > coding JavaScript functions for testing. I have turned off the Pop-up
| > Blocker but that did not solve the problem. At this point, I just want
to
| > enable JavaScript for ALL sites so that IE behaves as it did when I was
| using
| > Windows 2000. How do I do this?
|
|
 
P

PA Bear

Check your permissions in IE Tools>Internet
Options>Security>[zone]>Custom>...

References:

WinXP SP2: What's New for Internet Explorer and Outlook Express
http://www.microsoft.com/windowsxp/sp2/ieoeoverview.mspx

Changes to Functionality in Microsoft Windows XP Service Pack 2
Browsing Security Enhancements
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx

Description of the Internet Explorer Information Bar in Windows XP SP2
http://support.microsoft.com/?kbid=843017
 
J

Jan Il

Thanks Tom, I get them crossed up sometimes. I'm working on it
though....;o)

Jan :)
 
J

Jan Il

"> Tom's bark is much worse than his bite, Jan.

Heh.....he'll have to bark louder than that in this bunch! ;o)))

I'm glad he set us both straight on it. <g>

Jan :)
Smiles are meant to be shared,
that's why they're so contagious.
 
G

Guest

Thanks for the links. These helped but I am still trying to understand what
I need to do.

I have enabled everything in the Internet Zone and Intranet Zone and still
the Information Bar appears whenever I open a page served from my local file
system.
Note: This machine is NOT currently connected to the Internet. I am just
developing pages that are served locally.

From your links, I found this page
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx#ELAA

which refers to something called the "Local Machine Zone" which, if I
understand correctly, is what is blocking the JavaScript on my page from
executing. However, there is no "Local Machine Zone" on the Internet Options
Additionally, if I understand the instructions on this page correctly (and I
am still trying to digest it), I need to muck with the registry settings to
change the policies for this "Local Machine Zone".

Can you explain, in English, the difference between the "Local Machine Zone"
and the Internet and Intranet zones? And, is my interpretation correct that
I will have change some registry settings in order to keep IE from blocking
execution of JavaScript code? If so, can you identify the specify registry
settings that need to be changed?

PA Bear said:
Check your permissions in IE Tools>Internet
Options>Security>[zone]>Custom>...

References:

WinXP SP2: What's New for Internet Explorer and Outlook Express
http://www.microsoft.com/windowsxp/sp2/ieoeoverview.mspx

Changes to Functionality in Microsoft Windows XP Service Pack 2
Browsing Security Enhancements
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx

Description of the Internet Explorer Information Bar in Windows XP SP2
http://support.microsoft.com/?kbid=843017
--
~Robear Dyer (PA Bear)
MS MVP-Windows (IE/OE)


Jay said:
I recently installed the latest version of Windows XP with SP2. It's my
first experience with XP. I have discovered that whenever I open any page
with JavaScript (even on my local machine), IE displays a yellow banner at
the top of the page saying "IE has restricted this file from showing
active content...". I have to right-click on the banner and select Allow
Blocked Content. While I appreciate MS trying to protect my machine,
this is growing increasingly annoying, especially since, as a web
developer, I am actually coding JavaScript functions for testing. I have
turned off the Pop-up Blocker but that did not solve the problem. At
this point, I just want to enable JavaScript for ALL sites so that IE
behaves as it did when I was using Windows 2000. How do I do this?
 
F

Frank Saunders, MS-MVP IE/OE

Jay D said:
Thanks for the links. These helped but I am still trying to
understand what I need to do.

I have enabled everything in the Internet Zone and Intranet Zone and
still the Information Bar appears whenever I open a page served from
my local file system.
Note: This machine is NOT currently connected to the Internet. I am
just developing pages that are served locally.

From your links, I found this page:
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx#ELAA

which refers to something called the "Local Machine Zone" which, if I
understand correctly, is what is blocking the JavaScript on my page
from executing. However, there is no "Local Machine Zone" on the
Internet Options
Additionally, if I understand the instructions on this page correctly
(and I am still trying to digest it), I need to muck with the
registry settings to change the policies for this "Local Machine
Zone".

Can you explain, in English, the difference between the "Local
Machine Zone" and the Internet and Intranet zones? And, is my
interpretation correct that I will have change some registry settings
in order to keep IE from blocking execution of JavaScript code? If
so, can you identify the specify registry settings that need to be
changed?

PA Bear said:
Check your permissions in IE Tools>Internet
Options>Security>[zone]>Custom>...

References:

WinXP SP2: What's New for Internet Explorer and Outlook Express
http://www.microsoft.com/windowsxp/sp2/ieoeoverview.mspx

Changes to Functionality in Microsoft Windows XP Service Pack 2
Browsing Security Enhancements

http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx

Description of the Internet Explorer Information Bar in Windows XP
SP2 http://support.microsoft.com/?kbid=843017
--
~Robear Dyer (PA Bear)
MS MVP-Windows (IE/OE)


Jay said:
I recently installed the latest version of Windows XP with SP2.
It's my first experience with XP. I have discovered that whenever
I open any page with JavaScript (even on my local machine), IE
displays a yellow banner at the top of the page saying "IE has
restricted this file from showing active content...". I have to
right-click on the banner and select Allow Blocked Content. While
I appreciate MS trying to protect my machine, this is growing
increasingly annoying, especially since, as a web developer, I am
actually coding JavaScript functions for testing. I have turned
off the Pop-up Blocker but that did not solve the problem. At this
point, I just want to enable JavaScript for ALL sites so that IE
behaves as it did when I was using Windows 2000. How do I do this?

See Local Machine Lockdown
http://www.winxptutor.com/lmzunlock.htm
and
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx#XSLTsection129121120120

--
Frank Saunders, MS-MVP, IE/OE
Please respond in Newsgroup only. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com/security/protect/
 
B

Bob H

Your post was most helpful, I had the same problem as the original poster.
Managed to follow your steps and figure out what was missing.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top