Re:Show HN: Embed a snow effect on your website
by henriquez on Monday December 12, 2022 @09:50AM
(#33955182)
It’s a cool effect but would be better to go front-and-center with the source code. Asking people to embed random third party scripts on their web pages is a security bottomless pit.
[ Parent
| on HN ]
Re:Show HN: Embed a snow effect on your website
by Kiala on Monday December 12, 2022 @09:52AM
(#33955215)
<script
src="https://app.embed.im/snow.js"
integrity="sha384-Valx9sYaUe2U0FqU3e/VYEIMy5hvYI21K429rkwaao8xgzmD6in2EIws7JBQtlnl"
crossorigin="anonymous"
defer></script>
Re:Show HN: Embed a snow effect on your website
by Retr0id on Monday December 12, 2022 @10:02AM
(#33955336)
The URL is not versioned, so it will break whenever OP makes an update (which is arguably a good thing, but we really need OP to provide us with a versioned URL)
Re:Show HN: Embed a snow effect on your website
by mort96 on Monday December 12, 2022 @10:58AM
(#33956086)
Luckily, your snow effect is not mission-critical. So even without the versioned URL, I'd probably take the trade-offs; the snow effect might disappear, but at least I don't give some random person arbitrary remote code execution permissions on my website.
But yeah, the URL should really be versioned.