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

https://news.ycombinator.com/item?id=33013873
by cududa • 4 years ago
97 25 4 years ago

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

Related Stories

Loading related stories...

Source preview

news.ycombinator.com