Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> As part of their platform, KLAYswap relied on a javascript library written by Korean tech company Kakao Corp. When users were on the cryptocurrency exchange, their browsers would load Kakao’s javascript library directly from Kakao’s servers

Am I the only one that yelled "NO" at their monitor when reading this snippet?

It is usually not good practice to load js from 3rd-party domains into your app. Just grab the file and serve it yourself.

For things like payments, I would hope that most of it is server-side, and that js doesn't play a critical role in it at all.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: