Do not set window.opener for links targeting _blank (obsolete)
Jump to overview

Policy overview

Key metadata and intent for this policy.

Category
Microsoft Edge
Supported on
Microsoft Edge version 88-102, Windows 7 or later

Supported OS tags: Windows7

OBSOLETE: This policy is obsolete and doesn't work after Microsoft Edge 102. If you enable this policy or leave it unset, the window.opener property is set to null unless the anchor specifies rel="opener". If you disable this policy, popups that target _blank are permitted to access (via JavaScript) the page that requested to open the popup.

Internal name
TargetBlankImpliesNoOpener
Policy ID
3560e056bfd4
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Path
Software\Policies\Microsoft\Edge
Value name
TargetBlankImpliesNoOpener
REG_DWORD
HKLM
1
HKCU
1
HKLM
0
HKCU
0
Registry location
Type REG_DWORD · Both
Path
Software\Policies\Microsoft\Edge
Value name
TargetBlankImpliesNoOpener
Hive
HKLM
Enabled value
1
Disabled value
0
Hive
HKCU
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.