hazumi
Back

Tell HN: Toptal's HTML minification API occasionally injects tracking JavaScript

cududa
97 points25 comments
Just a heads up for anyone using their API - about 1 in 5 requests will return with Cloudflare Insights tracking JS. It's not mentioned anywhere in the API documentation, Privacy Policy, or ToS.

Fairly certain this is the package they based their service on https://github.com/tdewolff/minify

Edit: Here's a tweet I posted with a screenshot of the code: https://twitter.com/cullend/status/1575243757624360960?s=20&t=JVhqXDJExBnrEVOXeFH4Jg

Comments (25)