PDA

View Full Version : XP SP2 Installed. Now IE Doesn't Like the Code in My Home Page!


tomlacko@yahoo.com
January 12th 05, 07:12 PM
My home page contaings the following code which IE SP2 objects to:

============
<H2>
<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin

var montharray=new
Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
function countup(yr,m,d) {
var today=new Date();
var todayy=today.getYear();

// Y2K Fix by Isaac Powell
// http://onyx.idbsu.edu/~ipowell

if ((navigator.appName == "Microsoft Internet Explorer") && (todayy <
2000))
todayy="19" + todayy;
if (navigator.appName == "Netscape")
todayy=1900 + todayy;

var todaym=today.getMonth();
var todayd=today.getDate();
var todaystring=montharray[todaym]+" "+todayd+", "+todayy;
var paststring=montharray[m-1]+" "+d+", "+yr;
var
difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1);

document.write ( " Today is " + difference + " ");

}
countup(1970,01,01); // Date in format: (year,month,day)

// End -->
</script>

</H2>

<!-- Script Size: 0.99 KB -->

==========


Each time I start IE the browser comes up with the message, "To help
protect your security, Internet Explorer has restricted this file from
showing active content that could access your computer. Click here for
options...."

Now, after right-clicking on that statement I can click on "Allow
blocked content" to see the page but I don't want to do this each time
I start up IE. My browser security settings are set to allow java
scripting so, I don't know what the problem can be. The home page that
contains the code resides on my computer.

Another thing: Each time IE displays that error it plays an alert tone
through my speakers. I don't want any sound to be heard at all! I have
my Windows XP settings set for No Sounds (under Control Panel / Sounds
/ Sound Scheme = No Sounds.)

Anyone have any thoughts on this?
Thank you for your time.

Tom,

Vagabond Software
January 12th 05, 07:27 PM
> wrote in message =
oups.com...
> Each time I start IE the browser comes up with the message, "To help
> protect your security, Internet Explorer has restricted this file from
> showing active content that could access your computer. Click here for
> options...."
>=20
> Now, after right-clicking on that statement I can click on "Allow
> blocked content" to see the page but I don't want to do this each time
> I start up IE. My browser security settings are set to allow java
> scripting so, I don't know what the problem can be. The home page that
> contains the code resides on my computer.
>=20
> Another thing: Each time IE displays that error it plays an alert =
tone
> through my speakers. I don't want any sound to be heard at all! I have
> my Windows XP settings set for No Sounds (under Control Panel / Sounds
> / Sound Scheme =3D No Sounds.)
>=20
> Anyone have any thoughts on this?
> Thank you for your time.
>=20
> Tom,

Use the Tools - Internet Options menu to select Trusted Sites zone from =
the Security tab and add your home page to the Trusted sites list. Make =
sure the "Require server verification (https)" option is not checked if =
that is not a requirement.

For sounds,

Double-click the speaker icon in the systray and check the Mute All =
button. Alternatively, you can go into Device Manager and disable the =
sound card to achieve a "don't even try to play sounds... EVER" type =
setting.

carl

Code-Curious Mom
January 12th 05, 08:11 PM
The key item here is your statement that "The home page that
contains the code resides on my computer." This sounds like a 'Local
Machine Lockdown' SP2 feature issue. I had the same issue with several
custom IE start pages. I solved it using the 'Mark of the Web'. See info
at the link below.

http://groups-beta.google.com/group/microsoft.public.windowsxp.general/browse_frm/thread/4fa5753391be2126/88f401be79680672?tvc=1&q=popup+java&_done=%2Fgroup%2Fmicrosoft.public.windowsxp.genera l%2Fsearch%3Fgroup%3Dmicrosoft.public.windowsxp.ge neral%26q%3Dpopup+java%26qt_g%3D1%26searchnow%3DSe arch+this+group%26&_doneTitle=Back+to+Search&scrollSave=&&d#88f401be79680672

"Vagabond Software" > wrote in message
...
> wrote in message
oups.com...
> Each time I start IE the browser comes up with the message, "To help
> protect your security, Internet Explorer has restricted this file from
> showing active content that could access your computer. Click here for
> options...."
>
> Now, after right-clicking on that statement I can click on "Allow
> blocked content" to see the page but I don't want to do this each time
> I start up IE. My browser security settings are set to allow java
> scripting so, I don't know what the problem can be. The home page that
> contains the code resides on my computer.
>
> Another thing: Each time IE displays that error it plays an alert tone
> through my speakers. I don't want any sound to be heard at all! I have
> my Windows XP settings set for No Sounds (under Control Panel / Sounds
> / Sound Scheme = No Sounds.)
>
> Anyone have any thoughts on this?
> Thank you for your time.
>
> Tom,

Use the Tools - Internet Options menu to select Trusted Sites zone from the
Security tab and add your home page to the Trusted sites list. Make sure
the "Require server verification (https)" option is not checked if that is
not a requirement.

For sounds,

Double-click the speaker icon in the systray and check the Mute All button.
Alternatively, you can go into Device Manager and disable the sound card to
achieve a "don't even try to play sounds... EVER" type setting.

carl

Google