mouthful

Dev tools

css extraction

SHOW HN2023

mouthful

Generate a concatenated file of all CSS used on a given website

mikaei.github.io

#css#concatenate css#extract css#website styles

14points
6comments
#2,012of 3,109 in 2023
Top 65%of 2023 by points

How HN took it

CuriousMostly questions and neutral comments

1 positive, 3 neutral or asking, 0 mixed, 1 critical, out of 5 comments about the project. Thread score +0.05.

Execution: 0 for, 1 againstIdea: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Could be useful

    From 1 comment
    • Could come in handy. Does Chrome Devtools have a way to do this?
      xnx on HN

Objections

  • Uses PhantomJS, which is no longer maintained

    From 2 comments
    • Last commit was in 2019, and it uses PhantomJS to query a page, which shutdown development in 2018 https://github.com/ariya/phantomjs/issues/15344
      bdcravens on HN
    • Should work on "SPA" sites, though it uses PhantomJS, a "dead" project. It loads a page, listens for CSS mimetypes to build an array of URLs to pull down and concat.…
      bdcravens on HN
  • Last commit was in 2019

    From 1 comment
    • Last commit was in 2019, and it uses PhantomJS to query a page, which shutdown development in 2018 https://github.com/ariya/phantomjs/issues/15344
      bdcravens on HN

Requests

  • Post link to GitHub repo instead of the landing page

    From 1 comment
    • Can we get the link changed to the GitHub repo? There's no such link on the given page. There's also no additional info such as if this works on SPA type websites, or if it's…
      geuis on HN
  • Document SPA support and link depth handling

    From 1 comment
    • Can we get the link changed to the GitHub repo? There's no such link on the given page. There's also no additional info such as if this works on SPA type websites, or if it's…
      geuis on HN

Questions

  • Does Chrome DevTools offer a way to do this?

    From 1 comment
    • Could come in handy. Does Chrome Devtools have a way to do this?
      xnx on HN

Alternatives named

  • SnipCSS Chrome extension

    From 1 comment
    • 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…
      mrieck on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/37646257)