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

3

u/robertbieber Jan 17 '20 edited Jan 17 '20

I've only used Stripe and WorldPay in my time, but I guarantee you neither of those use JavaScript

Ahem

Edit: WorldPay does embedded JS as well