What is Nostr?
Kat Marchán 🐈 /
npub1c9j…rt6y
2024-09-06 16:34:40

Kat Marchán 🐈 on Nostr: OK kind of security question… if I’m loading HTML from an AJAX request (mostly ...

OK kind of security question… if I’m loading HTML from an AJAX request (mostly trusted, full my own server), and I want to safely put that on my web page, what’s the “right” way to do that? Make a div and assign the response to .innerHTML? Is there something “safer”?
Author Public Key
npub1c9j38a5jyfm9hfdy3lklp568jtddy4gs3fqw3k04p447v6662y2q05rt6y