Re:Blink tag removed from Firefox
by jacobr on Wednesday August 07, 2013 @03:17AM
(#6171321)
Oddly enough Chrome/Blink still has the String.prototype.blink method to create a blink tag from a string. If I recall correctly it's actually part of an ES (not DOM) standard.
[ Parent
| on HN ]
Wow. Because this surprised me so much, I just found out that if you open up a node REPL and type 'hello'.blink() you get '<blink>Hello</blink>' returned. So I guess it's an ES thing and it boggles my mind.
I was trying to find the ES standard where it's specified but I'll settle for this[1] instead. Interestingly enough you have quite a few HTML wrapping functions as part of the spec.
[1]: http://javascript.spec.whatwg.org/#string.prototype.blink
What could possibly be the use of that.