Modify activex security settings on the webpage, add a trusted site, and disable the pop-up window blocking program.

Source: Internet
Author: User

 

Registry entry of the trusted site

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ ZoneMap \ Ranges \ Range [*]

ActiveX registry key

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ Zones \ [0-4] \ [*]

[0-4]

Value settings
------------------------------
0 my computer
1. Local Intranet Region
2. trusted site regions
3. Internet region
4 restricted site regions

[*]

1001 download the signed ActiveX Control
1004 download unsigned ActiveX Controls
1200 Run ActiveX controls and plug-ins
1201 initialize ActiveX controls that are not marked as secure and run scripts
1405 execute scripts on ActiveX controls marked as secure Script Execution
2201 ActiveX control automatic prompt **

The Registry Key of the blocked program appears.

HKEY_CURRENT_USERHKCU \ Software \ Microsoft \ Internet Explorer \ New Windows \ PopupMgr

The specific script is as follows:

<Script language = "JavaScript">
<! --
Var WshShell = new ActiveXObject ("WScript. Shell ");
// Add a trusted site ip Address

WshShell. RegWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ ZoneMap \ Ranges \ Range100 \\","");
WshShell. regWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ ZoneMap \ Ranges \ Range100 \ http", "2 ", "REG_DWORD ");
WshShell. regWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ ZoneMap \ Ranges \ Range100 \: Range", "192.168.0.1 ");
WshShell. RegWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ ZoneMap \ Ranges \ Range101 \\","");
WshShell. regWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ ZoneMap \ Ranges \ Range101 \ http", "2 ", "REG_DWORD ");
WshShell. regWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ ZoneMap \ Ranges \ Range101 \: Range", "192.168.0.2 ");
// Modify IE ActiveX Security Settings

WshShell. regWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ Zones \ 3 \ 1001", "0", "REG_DWORD ");
WshShell. regWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ Zones \ 3 \ 1004", "0", "REG_DWORD ");
WshShell. regWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ Zones \ 3 \ 1200", "0", "REG_DWORD ");
WshShell. regWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ Zones \ 3 \ 1201", "0", "REG_DWORD ");
WshShell. regWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ Zones \ 3 \ 1405", "0", "REG_DWORD ");
WshShell. regWrite ("HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ Zones \ 3 \ 2201", "0", "REG_DWORD ");
// Disable the xinxp pop-up window blocking program

WshShell. RegWrite ("HKCU \ Software \ Microsoft \ Internet Explorer \ New Windows \ PopupMgr", "no ");

Alert ("active Control Security Settings, pop-up window settings, successful site Settings ");
// -->

</SCRIPT>

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.