Results 1 to 9 of 9

Thread: IE Restrictions

  1. #1
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    286
    Thanks
    95
    Thanked 3 Times in 3 Posts

    Question IE Restrictions

    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.

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    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.

  3. #3
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there marain,

    this only happens locally. To effect a cure for the page add this snippet of code directly after the DOCTYPE...
    Code:
    
    <!-- saved from url=(0014)about:internet --> 
    
    To permanently disable this information do this...
    1. open IE.
    2. click 'Tools'.
    3. click 'Internet Options'.
    4. click 'Advanced' tab.
    5. scroll down to 'Security'.
    6. check 'Allow active content to run in files on My Computer'.
    7. click 'Apply'.
    8. click 'OK'
    9. have a beer.

    Further reading:-

    coothead

  4. #4
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    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.

  5. #5
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    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.

    coothead

  6. #6
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    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.

  7. #7
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    The bane of this world are those who act without thinking.

    "Act in haste, repent at your leisure."

    coothead

  8. #8
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    286
    Thanks
    95
    Thanked 3 Times in 3 Posts

    Default

    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.

  9. #9
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default


    No problem, you're very welcome.


    coothead

Similar Threads

  1. Replies: 12
    Last Post: 10-02-2011, 03:20 PM
  2. FORM VALIDATION: adding "restrictions" to email field
    By deltatango5 in forum JavaScript
    Replies: 1
    Last Post: 01-19-2008, 02:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •