Hacker News new | ask | show | jobs
by esprehn 42 days ago
That won't work with trusted types enabled.
1 comments

Well this works too:

    <svg onload="this.replaceWith(new Date().getFullYear())"/>