My website (profile) has had a small javascript for over 5 years, i.e. on the page english.html (see "Contact", above my fax number): the javascript displays the current time in New Zealand. The idea is that if someone wishes to call me from the US or Europe, they realize what is the time in New Zealand. I understand this is done by the javascript looking at the time and time zone on the user's computer, and computing the corresponding time in New Zealand.
Since I downloaded SP2:
- When opening that page saved on my C drive, I no longer see the NZ time and I get an alert bar appearing under the address bar, stating "To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options..." - When I click and select "Allow blocked content", a warning appears again: "Allowing active content such as script and ActiveX controls can be useful, but active content might also harm your computer. Are you sure you want this file run active content?" - If I click YES, I can then see the NZ time.
- When opening that very same page from the internet, I do not get any alert at all, and I am able to see the NZ time!
This happens exactly in the same way on two of my computers (Win XP Pro, and Win XP Home) updated with SP2.
Apart from not being impressed by SP2, what should I do? Remove that javascript from my website? Change it in such a way that no alert appears when opened locally (how?)? Do nothing?
First off, couldn't see your web site. It was inaccessible.
If remote computers can see the time via your web page on the server, then you don't need to be concerned. Perhaps you might want to write a Javascript routine that displays the regular time to you when the page is located on your machine and when it's served from the server under your domain name, then have it run your normal routine. That way you see the time and so do your visitors. Basically:
if "page served via your local computer" serve up local time, else "run regular time generator" (or something to that effect).
Here is the solution, which I received on annoyances.org (hopefully it will be useful to other webmasters): to display seamlessly your pages containing javascript which are saved on your disk: from IE's topline menu, choose Tools>Internet Options>Advanced Tab>scroll down to the Security section, check the second checkbox (allow active......files on my computer)>OK
You have my sympathy if the script was being used to benefit others so that they may call you at the correct time.
You might want to get in touch with Microsoft and ask them for a solution. You may have to wait a while but the more problems reported, the sooner they can fix it.
I'm having the same type of problem since installing SP2, but it is not with JS. I use a code to make small photos enlarge in a new browser window when clicked on. I have many photos and for some time this has solved my page load time problems. I do not want visitors to my site to need to disable anything or find things not working, etc., or have any other un-positive experiences while there. Below is a sample of the code I use which IE now calls "active X" and blocks:
Hopefully someone will have a quick solution for my problem. Since installing SP2 on my home system (windows XP OS), I haven't been able to use the geocities.com PageBuilder to work on my website. I also have problems with some features on programs like Shutterfly. I know this is a JAVA / JavaScript problem, but I have no idea how to fix it. I've checked all options and javascript is enabled, I've tried 3 browsers, started and restarted my system, turned of pop-up blocker, etc. What am I missing?
Im also having an issue with the same blockage, finally got it to stop showing that warning, but on the page that has the javascript clock running, thru a settimeout in the body tag that calls the clock script every second, the page now seems to crash my machine. did not have this problem prior to sp2. Any ideas?
Service pack 2 affected a very long list of programs, the limited list I saw had over 200 software applications on it.
to view your website locally, you should be running a web server on you machine, service pack 2 may have messed with how apache runs, I never followed through on that. Installing IIS is a major security risk which I'd reommend against doing unless you have some grasp of security on a local machine.
actually i usually view them as a temp file, the real problem turned out to be a file that I missed, while updating everything, since I just reinstalled windows, I think it had something to do with the agpminiport. The warning bar is, as I read above, found in the internet options/advanced area. My solution was to reinstall all the ati and via 4 in 1 drivers. Things were just a lot more confusing since i was unaware that I was dealing with several issues at once.
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
You have not yet logged in, or registered properly as a member
You are a member, but no longer have posting rights.
This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.