cef_browser_settings_t.javascript_close_windows

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 or that have no back/forward history. Also configurable using the "disable-javascript-close-windows" command-line switch.

struct cef_browser_settings_t
cef_state_t javascript_close_windows;

Meta