So we set out to find a new hack. What followed was a sordid tale of
~ Mat Marquis from, https://alistapart.com/article/responsive-images/noscript
tags and dynamically injectedbase
tags, ofdocument.write
andeval
—of rendering all of our page’s markup in ahead
element, to break preparsing altogether.
For some of you, the preceding lines will require no explanation, and for that you have my sincerest condolences. For everyone else: know that it was the stuff of scary developer campfire stories (or, I guess, scary GIF-of-a-campfire stories). Messy, hard-to-maintain hacks all the way down, relying entirely on undocumented, unreliable browser quirks.
slip:4uaiai9.
I don’t often laugh out lead reading geeky CSS techno-mumbo-jumbo. But when I do—and especially if it warms the cockles of my heart—you can be sure I’ll lovingly craft a blog post about it.
More seriously, if you’ve ever wondered how images are put into pages— What on Earth is wrong with you?! Why would you ever wonder about that?! Definitely do not click on that link above…
ɕ
P.S.: The title is a Denis Leary reference.