Cancel IE "This script has been restricted from running scripts that can access your computer"

  

To help protect security, IE has restricted this page from running scripts or ActiveX controls that can access your computer. Please click here for options...

Method 1:

Debug the html page locally, if it contains js or flash, IE will often prompt & ldquo; IE has restricted this page to run. Access the computer's script or ActiveX control”. Although IE is not wrong to prevent local scripts from running for security reasons, as a program developer, it is very annoying to ask for permission every time, so I started to find a way to get rid of this prompt.

In the IE option, I turned it around for a long time and finally let me find it. Here's how: Tools – Internet Options – Advanced Tags – Under Security Category, there is an option to allow active content to run in files on my computer*”. We are looking for him! It is OK to restart the IE after checking the tick (if you open other programs, only the IE browser window is ineffective, you need to restart the computer). This method works for all versions of IE that prevent local scripts from running.

Method 2:

Directly load the script, add the line below the html file !DOCTYPE

<!-- saved from url=(0022)http ://blog.csdn.net/electroniXtar/-->

Just fine.

<!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/--> <html xmlns="http://www.w3.org/1999 /xhtml">

<head>

Copyright © Windows knowledge All Rights Reserved