Click or drag to resize

BrowserSettings.JavascriptCloseWindows Property

Version 94.4.20
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: 94.4.20.0
Syntax
public CefState JavascriptCloseWindows { get; set; }

Property Value

Type: CefState

Implements

IBrowserSettings.JavascriptCloseWindows
See Also