Just look under this thread, I wrote one possible solution of using .innerText from constructed DOM. (Or maybe open window in another domain). However @repiret may be right - corporate proxy is already invasive enough, that means the users are already in mercy of those.
But still, I'd go with safer practices. Even in the slightly unlikely case someone manages to hack 3rd party (Stripe) and send your users arbitrary HTML for some periods of time... :)
Re:How I learned about corporate firewalls
by ValCanBuild on Thursday October 06, 2022 @02:00AM
(#33104891)
Thanks, appreciate the advice!
What's the safest way to handle this? Open it in an iframe?