- Code: Select all
command_line->AppendSwitch("--disable-web-security");
That works well but I would like to be able to selectively enable/disable it after CEF is initialized.
Is there a way to do that or alternatively, is there a different switch that would let my HTML/JS load local images but not open up everything else that disabling web security gives you?