Click or drag to resize
BrowserSettingsJavascriptCloseWindows Property
Version 51.0.0
Controls whether JavaScript can be used to close windows that were not opened via JavaScript. JavaScript can still be used to close windows that were opened via JavaScript. Also configurable using the "disable-javascript-close-windows" command-line switch.

Namespace: CefSharp
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 51.0.0.0
Syntax
public virtual CefState JavascriptCloseWindows { get; set; }

Property Value

Type: CefState

Implements

IBrowserSettingsJavascriptCloseWindows
See Also