r/shittyprogramming • • Jan 16 '20

JavaScript: it's a security risk

Overheard on a call one of my colleagues just got off of:

Colleague: "So why aren't you able to add our JavaScript to your checkout page?"

Client: "Oh, we disable JavaScript on our entire checkout page."

Colleague: "...why?"

Client: "It's a security risk."

Colleague: <head explodes>

136 Upvotes

72 comments sorted by

View all comments

Show parent comment

1

u/Xyexs Jan 17 '20

Ah thank you. I feel like that answer filled the gaps in my understanding perfectly.

3

u/wizzwizz4 Jan 18 '20

Note: I know a lot, and consider myself to almost know enough to build one of these things. Be very, very careful if you wish to roll your own; frameworks won't save you. Do a lot of research and learning beforehand.