Is there a way i can disable the information bar for ActiveX controls using JavaScript or XHTML?

listed in answer

Is there a way i can disable the information bar for ActiveX controls using JavaScript or XHTML?
0 votes, 0.00 avg. rating (0% score)

ANSWER:

The Information Bar you’re seeing is unrelated to ActiveX (even though it might say “ActiveX”). It’s simply telling you that a IE isn’t running scripts on a local file, a security precaution.

  • Yes, when accessed via HTTP, the warning won’t appear.
  • There’s no way to programmatic disable it because (1) your code isn’t running in the first place; and (2) doing so would circumvent the security restriction that this is meant to be. Use the MOTW.

If you just want pages to work on your machine, go to Tools, Internet Options, Advanced, and check Allow active content to run in files on My Computer. I’d only enable this option while developing, however.

by josh3736 from http://stackoverflow.com/questions/10326263