Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
esprehn
· 1mo ago · 0 comments
That won't work with trusted types enabled.
Comments
[–]
russellbeattie
1mo ago
Well this works too:
<svg onload="this.replaceWith(new Date().getFullYear())"/>