Hi, are there any possibilities to disable loading/showing SVG images in Chromium?
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.
CEF4Delphi: How to diasble loading SVG images?
-
- Posts: 10
- Joined: Thu Apr 02, 2020 2:28 pm
- salvadordf
- Posts: 4579
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: CEF4Delphi: How to diasble loading SVG images?
There are settings to stop downloading all images but I don't remember of any setting to stop SVG images in particular... but I could be wrong!
However, you can always filter any resource using the TChromium.OnBeforeResourceLoad or TChromium.OnResourceResponse events.
Read this for more information about those events :
https://magpcss.org/ceforum/apidocs3/projects/(default)/CefResourceRequestHandler.html
However, you can always filter any resource using the TChromium.OnBeforeResourceLoad or TChromium.OnResourceResponse events.
Read this for more information about those events :
https://magpcss.org/ceforum/apidocs3/projects/(default)/CefResourceRequestHandler.html
-
- Posts: 10
- Joined: Thu Apr 02, 2020 2:28 pm
Re: CEF4Delphi: How to diasble loading SVG images?
@salvadordf
Thank You, I'll try it!
Thank You, I'll try it!