View Full Version : Resolved Trouble checking html with javascript in browser on harddrive in Windows 7
ngors
12-18-2010, 02:31 AM
I got a new laptop with windows 7 rather than windows xp.
When I try to update my webpage on my harddrive and then check the local version of my webpage in IE browser nothing shows up. IE browser says "navigation to the webpage was cancelled"
However I have no trouble viewing the same webpage I have on the internet from IE browser.
This never happened on my old computer with Windows XP. I edited my webpages and checked the local version of my webpage in IE all the time.
jscheuer1
12-18-2010, 05:38 PM
I have Windows 7 on my laptop and have no problem like you're describing. I will occasionally get the Active X warning for local pages with javascript, but if I allow it, it displays just fine.
The warning is something like (in a bar at the top of the page, all on one line):
To help protect your security Internet Explorer has restricted this webpage from running scripts or Active X controls that could access your computer. Click here for options...
If you click that, there's a menu, choose allow, then confirm the dialogue that pops up with a yes.
After doing so that browser tab is approved and you may load any local content into it you like.
Do not do this if you don't 100% trust that the page is harmless!
If this is not what you get (the warning, with the option to allow it), then it's something(s) in your security settings in IE or Windows, or perhaps even third party security software.
Do you get the warning?
ngors
12-18-2010, 06:49 PM
I do not get this Acive X control warning. I am not using any Active X in my webpage. Just some javascript, CSS, and Html.
jscheuer1
12-18-2010, 09:33 PM
Well that's what IE, when it has its default security settings and no other program is interfering, calls javascript. The warning does say:
scripts or Active X controls
On some systems it just says:
active content
But for my Windows 7 with the latest live updates running the latest IE 8 updates, it says the former.
Incidentally, all css filters require both javascript and some level of Active X controls to function, so even a page that otherwise has no javascript on it will give that warning locally (assuming IE's default security settings) if it employs any of those filters.
Sounds to me as though you might be happy with the warning as long as you could accept it and then at least see the page, right?
If so, open IE, go to:
Tools > Internet Options > Security
If the "Reset all zones to default level" button isn't disabled, click that and it might at least get you to where I am, with the warning that can be accepted or rejected.
Otherwise it's settings in your copy of Windows 7 or a third party security program. That is unless you are running something like WAMP or XAMMP or another local host or are running as a server, then it might be settings in regards to that software (in that software or in Windows) if you are trying to view a page on it through it.
Are you running as a server or have WAMP or XAMMP or similar running?
What security software (anti-virus, anti-malware, firewall, etc.) are you running?
Do you surf via a proxy?
If you're running IE in 64 bit mode, it cannot do Flash. That could only be a problem if the page has Flash, or the browser thinks it does.
Where did you get this laptop, through school or work? If so, it may have heightened security.
ngors
12-19-2010, 02:44 AM
Here are my responses to your questions. My knowlege of computer stuff is very uneven. I last worked on this webpage some time ago and i think I was working in Windows XP then. i do recall that there was a warning bar that I could click and then it would permit my javascript to run. In fact i faintly remember that you may have been the one who told me about this back then! But this is quite different since my page does not load at all from the harddrive and there is no place to click to permit it to run. my website is looking quite sloppy on the wide screen computer screens and I was hoping I might fix it but this is quite an obstacle. So here are you questions and my answers:
Sounds to me as though you might be happy with the warning as long as you could accept it and then at least see the page, right? YES
If so, open IE, go to:
Tools > Internet Options > Security
If the "Reset all zones to default level" button isn't disabled, click that and it might at least get you to where I am, with the warning that can be accepted or rejected. This button was disabled. I lowered the security level to Medium from medium high but this did not help.
Otherwise it's settings in your copy of Windows 7 or a third party security program. That is unless you are running something like WAMP or XAMMP or another local host or are running as a server, then it might be settings in regards to that software (in that software or in Windows) if you are trying to view a page on it through it.
Are you running as a server or have WAMP or XAMMP or similar running? NO
What security software (anti-virus, anti-malware, firewall, etc.) are you running? Norton 360
Do you surf via a proxy? NO
If you're running IE in 64 bit mode, it cannot do Flash. That could only be a problem if the page has Flash, or the browser thinks it does. I'm not familiar with this concept of 64 bit yet. How can I tell if I am running IE in 64 bit mode?
Where did you get this laptop, through school or work? If so, it may have heightened security. No just my new home laptop ACER brand.
bluewalrus
12-19-2010, 03:33 AM
64 Bit is a different version of windows
http://en.wikipedia.org/wiki/64-bit#32-_vs_64-bit
http://windows.microsoft.com/en-US/windows7/32-bit-and-64-bit-Windows-frequently-asked-questions
To find out if your computer is running a 32-bit or 64-bit version of Windows in Windows 7 or Windows Vista, do the following:
1.
Open System by clicking the Start button Picture of the Start button, right-clicking Computer, and then clicking Properties.
2.
Under System, you can view the system type.
If your computer is running Windows XP, do the following:
1.
Click Start.
2.
Right-click My Computer, and then click Properties.
*
If you don't see "x64 Edition" listed, then you're running the 32-bit version of Windows XP.
*
If "x64 Edition" is listed under System, you're running the 64-bit version of Windows XP.
jscheuer1
12-19-2010, 07:54 AM
It doesn't really matter what bit the OS is. I run 64bit. But I run a 32bit version of IE because the 64bit version doesn't do Flash, and I suspect it may have other issues. The same thing is true of the 64bit version of Firefox, in that it won't do some things as well as the 32bit one.
To tell which bit IE you have, while in the browser select:
Help > About
If it's 64bit, the info box that pops up will have "64-bit Edition" at the end of the version line. If it's 32bit, there will be nothing identifying the number of bits.
But this probably isn't the problem. If you do have 64 bit IE, there is a way to also run the 32 bit. I have both, but I'm not sure how that happened. I think it was already set up like that.
In any case, I vote for Norton. Try temporarily disabling it.
ngors
12-20-2010, 03:12 AM
Thanks for the suggestion. I'll try working on webpage with norton disabled. My IE is not 64 bit according to your information about how to detect.
There may also be something peculiar about my webpage because I have tried downloading other people's webpages that appear to have CSS and Javascript and have not had a problem loading my harddrive version of other people's webpages into IE.
Unfortunately things have gotten a little hectic for me and I may have to return to this after Christmas. But thanks for the tips so far. hopefully I'll at least be able to start coding next week and I'll be asking questions on the CSS forum by then. Otherwise you may be hearing from me again still trying to just view the darned thing from my harddrive.
jscheuer1
12-20-2010, 04:51 AM
Well you could zip up your local website and attach it here so I could see if there's a problem with it on my Windows 7 64 bit, IE 32 bit laptop. If you don't want to share it in the open forum here, PM me a link as to where I could download the .zip version.
When you say you download other sites, how did you do that? Did you use IE to save them?
I understand about things being hectic though. I don't think things will be "normal" here until after the holidays.
ngors
12-26-2010, 01:04 AM
Thanks John for your offer, but fortunately I have solved it. In the end it was your reference to "Active X" earlier that gave me the clue. I had to take the unpleasant step of going to the "Advanced" tab of my IE "internet options". Then I had to go through the very long list of more or less obscure internet browsing options until I got to "Allow active content to run in files on my Computer" in the "Security" category.
I would have thought that changing security options in the Security tab" like you suggested would have worked, but this was not the case. Also I would have thought there would be some warning like I had before in Windows XP where you can click on a warning bar to permit the content to be run. Just getting a virtually blank screen with some minimal text offering no explanation is quite frustrating.
Also I should note that norton 360 was not a problem in this case.
jscheuer1
12-26-2010, 03:20 AM
You shouldn't need that. Mine is not checked and I get the prompt. If after checking that it's not prompting you, perhaps that's a little too permissive. If a site you download realizes its on the local drive, it might be able to install something malicious from the web.
I'd suggest unchecking that and go to the security tab. Click on the:
Local intranet
icon in the "Select a zone to view or change security settings." area. You will see a slider. Set it to:
Medium-low
That's how mine is, and I get the prompt, which is probably the safest setting that will still allow you to run javascript and "safe Active X" locally with the prompt, while at the same time prohibiting the download of Active X controls.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.