News for hackers. Stuff that matters.
Re:Show HN: Generate a concatenated file of all CSS used on ... by mrieck on Monday September 25, 2023 @03:31PM (#37649309)
It just intercepts any files of "text/css" mime types appends them all together while also including the content of <style> tags.

If anyone wants something more specific that gets a section's CSS and all associated styles, I built an extension for that called SnipCSS.

https://chrome.google.com/webstore/detail/snipcss/hbdnoadcma...

My extension doesn't download or parse CSS stylesheets to get styles, I use the Devtools protocol https://chromedevtools.github.io/devtools-protocol/tot/CSS/

There are no comments on this comment yet.