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.

Chromium and CSS

Post Reply
Nicenice54
Posts: 2
Joined: Sat May 16, 2020 12:30 am

Chromium and CSS

Post by Nicenice54 »

Hello,

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

Thank you
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Chromium and CSS

Post 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
Post Reply