News for hackers. Stuff that matters.
Re:How to Favicon in 2021: Six files that fit most needs by chrismorgan on Thursday December 24, 2020 @06:55AM (#25526763)
Eh, not really. If you load the SVG directly (open a .svg file, or write inline SVG in your HTML), then yes, you can run JavaScript, but when it’s loaded as an image (<img src=example.svg>, or <link rel=icon href=example.svg>), JavaScript will not be executed.

There are no comments on this comment yet.