Page 1 of 1

How to disable JavaScript "on the fly"?

Posted: Sat Aug 22, 2020 11:13 am
by gresaggr
Hello.
Is it possible to change enable/disable Javascript support after already build browser in runtime (not at GlobalCEFApp init)?

Re: How to disable JavaScript "on the fly"?

Posted: Sat Aug 22, 2020 1:00 pm
by salvadordf
I just uploaded a new CEF4Delphi version to GitHub with a couple of new TChromium properties.

Try setting TChromium.JavascriptEnabled to FALSE at runtime with the latest CEF4Delphi version.

Re: How to disable JavaScript "on the fly"?

Posted: Sat Aug 22, 2020 2:06 pm
by gresaggr
Super! Thank you!