Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Mar 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Users in IE are not getting script/ActiveX warning

    I have a program written in Javascript (saved as an HTML file that I run from my desktop by launching it in IE) which works fine on my system. Running IE 8 in Vista on one system and XP on another.

    When I launch the file, I get warning in the information bar: "To help protect your security, Internet Explorer has restricted this webpage from running scripts or ActiveX cntrols that could access your computer. Click here for optons..."

    I actually WANT this warning. When I click through it to accept, the program works fine.

    But about half of the people that I share this program with are not getting this warning, and it appears that the javascript never runs. At first I thought it was something in Windows 7, because two of the users were running on that OS, and I've found a number of issues described online about having problems running scripts in IE8/Win7.

    But the latest user is also running Vista, like me. His security settings are set to the default, Medium-High. But he's still not getting the script/ActiveX warning in the message bar.


    Anyone know how we can enable that warning?


    Thanks!

  • #2
    Regular Coder
    Join Date
    Mar 2006
    Posts
    728
    Thanks
    35
    Thanked 132 Times in 123 Posts
    IE-tools-advanced-
    check the box to 'allow active content to run on files on my computer'

    Not recommended except for local testing.

    The prompt to allow can be disabled in Group policies, or the registry,
    so no one on the network can allow unsafe operations on their own workstations.
    And some pc users set it up that way as well.

    Which is why some people don't get the warning or the script.

    Simplest way out is to run it in any other browser- they are isolated from the operating system
    in a way IE can never be.
    Last edited by mrhoo; 03-19-2011 at 04:06 AM.

  • #3
    New to the CF scene
    Join Date
    Mar 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That option isn't checked on my system, though. How come I'm getting the prompts?


    As for other browsers, I haven't been able to get the script to run at all in Chrome. The programmer tells me that this is because Chrome blocks cross-site javascript (the code is a text parser that loads a web page by entering the URL, and outputs selected portions), and that if I wanted to run it in Chrome I would need to run it with the command line option --disable-web-security.


  •  

    Tags for this Thread

    Posting Permissions

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