Page 1 of 1

Chromium and CSS

Posted: Sat May 16, 2020 4:48 pm
by Nicenice54
Hello,

With Chromium I need to deactivate all css for all websites. you know a tip ? :)

Thank you

Re: Chromium and CSS

Posted: Sat May 16, 2020 5:12 pm
by salvadordf
Hi,

I've never done that and I don't recall any switch, property or anything to do that easily but you can try several things :
  • Use the TChromium.OnResourceResponse event to stop downloading any CSS file. Check the response.MimeType parameter.
  • Execute some JavaScript code to delete or disable all <style> elements.
  • Try the suggestions in this page : https://superuser.com/questions/447269/ ... -in-chrome