To help protect security, IE has restricted this page from running scripts or ActiveX controls that can access the computer. Please click here to get the option ...
Method One:
Debug HTML pages locally, if they contain js or flash, ie often prompts "ie has restricted this web page to run scripts or ActiveX controls that can access the computer ." Although IE is a good way to prevent local scripts from running for security reasons, it is true that, as a program developer, it is a very annoying thing to be allowed to do every time, so start trying to get rid of the hint.
In the IE option to turn over half a day, finally let me find. Tools –internet Options – Advanced tags – under the security classification, there is a " allow active content to run in a file on my computer *". That's who we're looking for. After the check to restart IE on the line (if there are other programs, only close IE browser window is not effective, but also need to restart the computer). This method applies to all versions of IE that block local scripts from running.
Method Two:
Direct load script method in HTML file! DOCTYPE the line below, plus
<!--saved from Url= (0022) http://blog.csdn.net/electroniXtar/-->
On the line.
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<!--saved from Url= (0022) http://blog.csdn.net/electroniXtar/-->