View Full Version : IE Restrictions
marain
11-04-2012, 05:48 PM
Windows 7 Professional, IE9. Active scripting enabled. Whenever I restart IE9 and then load a page containing JavaScript, I get the message, "IE restricted this webpage from running scripts or ActiveX controls." I select the "Allow blocked content" option, and my JavaScript runs. I reload the page, and the script still runs. I restart IE9 and revert to the "IE restricted..." message again.
Is there a different setting I should be using under tools ---> internet options ---> security ---> custom level ---> scripting ---> active scripting, or elsewhere, to avoid that message and, if so, is it a serious security threat?
A.
molendijk
11-04-2012, 07:02 PM
Is this happening when your pages 'are alive'? When you view your pages on your computer (hard disk), this is a normal IE-reaction. It should not happen on the Internet.
Arie.
coothead
11-04-2012, 07:17 PM
Hi there marain,
this only happens locally. To effect a cure for the page add this snippet of code directly after the DOCTYPE...
<!-- saved from url=(0014)about:internet -->
To permanently disable this information do this...
open IE.
click 'Tools'.
click 'Internet Options'.
click 'Advanced' tab.
scroll down to 'Security'.
check 'Allow active content to run in files on My Computer'.
click 'Apply'.
click 'OK'
have a beer. ;)
Further reading:-
http://msdn.microsoft.com/en-us/library/ms537628(VS.85).aspx
coothead
Note that while coothead's suggestion "works," it also defeats the reason IE is doing this in the first place: it's a security precaution. IE doesn't want to run javascript (or other "ActiveX" stuff) locally because it may have arrived on your computer without your knowledge (i.e., malware).
I agree that this "feature" can be annoying, but keep in mind that disabling it can cause problems as well.
coothead
11-04-2012, 09:01 PM
Hi there traq,
when I post suggestions of this nature, I assume, of course, that those who
may implement them will possess, at the very least, a discerning disposition. :cool:
coothead
of course. I didn't mean to suggest that your answer was wrong or misleading.
I was more concerned about those who might read the answer and implement it without thinking.
coothead
11-04-2012, 09:19 PM
The bane of this world are those who act without thinking. :eek:
"Act in haste, repent at your leisure."
coothead
marain
11-05-2012, 12:45 PM
Many thanks to all. And, yes, I've run it only locally, just playing with different features, not intending to upload it to a server. So I've not tested it live. If it does happen live, I'll shout!
Best to all,
A.
coothead
11-05-2012, 01:52 PM
No problem, you're very welcome. ;)
coothead
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.