Hello,
I already did this in the past but can't remember anymore : how can i disable image loading when loading a page ?
Thanks !
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Hide images ?
- salvadordf
- Posts: 4565
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Hide images ?
Hi,
You can set GlobalCEFApp.DisableImageLoading to True before the GlobalCEFApp.StartMainProcess call in the DPR file to disable images for all the app lifetime.
If you need to disable them in one browser set TChromium.Options.ImageLoading to STATE_DISABLED before calling TChromium.CreateBrowser. This setting is in use for all the lifetime of this browser.
You can set GlobalCEFApp.DisableImageLoading to True before the GlobalCEFApp.StartMainProcess call in the DPR file to disable images for all the app lifetime.
If you need to disable them in one browser set TChromium.Options.ImageLoading to STATE_DISABLED before calling TChromium.CreateBrowser. This setting is in use for all the lifetime of this browser.