Live data from Hacker News

Show HN: Online web tools to get your work done faster

hreftools.com

11–20 of 37 posts

Re: Show HN: Online web tools to get your work done faster

#14
I'm curious, who here has a development workflow such that compressing/minifying code via an ad-hoc web tool makes sense? I've always just included it as part of a build process, or at the very least would pipe it into uglifyjs command line. I'm sure everyone's got their own needs but I just don't understand how that would be useful.

Re: Show HN: Online web tools to get your work done faster

#16
post #15

Looks neat! My one critique is the Contact Us link. I find unexpected mailto: links annoying because they cause my desktop mail client (which I don't use) to open unexpectedly when I'm expecting to be taken to a page, in this case a Contact Us page.

Thanks for the feedback. At initial step, I don't focus much on this thing. I will provide a nice contact page in future.

Re: Show HN: Online web tools to get your work done faster

#17
post #15

Looks neat! My one critique is the Contact Us link. I find unexpected mailto: links annoying because they cause my desktop mail client (which I don't use) to open unexpectedly when I'm expecting to be taken to a page, in this case a Contact Us page.

Thanks for the feedback. At initial step, I don't focus much on this thing. I will provide a nice contact page in future.

Perfectly reasonable. I would then suggest changing it from "Contact Us" to "hello@hreftools.com" to prevent any confusion (Principle of Least Astonishment) :)

Re: Show HN: Online web tools to get your work done faster

#19

I'm curious, who here has a development workflow such that compressing/minifying code via an ad-hoc web tool makes sense? I've always just included it as part of a build process, or at the very least would pipe it into uglifyjs command line. I'm sure everyone's got their own needs but I just don't understand how that would be useful.

Online tools that minify and touch code always scare me. It would be so easy for them to put stuff in there, like a crypto miner for example.

Re: Show HN: Online web tools to get your work done faster

#20
What is the HTML compressor using? It’s missing quite a few opportunities.

Take this input HTML:

  
  
    
      
      This is a title
    
    
      Well.
      

I wonder…

It produces this output:

  This is a titleWell.

I wonder…

It converted “doctype” to uppercase (equivalent, but bad for compression). It didn’t strip and as superfluous. It didn’t remove unnecessary quotes around attribute values. It didn’t remove the unnecessary

closing tags.

Here’s what I say it should have emitted:

  This is a titleWell.

I wonder…

30 characters shorter, and structurally equivalent.
Post reply on HN