Skip to content

Comment on Show HN: Supershields.io – smart, Lua-powered SVG status badgesparent

Comments

rlonnOP

You can put external links into e.g. your Github README.md to display badges but yes, Github seem to have some silly policy of not allowing people to inject executable Javascript into their website so you can't embed things using <object> tags, or similar. You have to use <img> which means no JS included in the badge SVG will be executed => no automatic updates.

Is it really a silly policy? I like that a lot.

rlonnOP

Of course it is silly - it infringes on my personal freedom not to be able to execute arbitrary code on the computers of people visiting Github!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.