Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pgeorgi
on July 6, 2012
|
parent
|
context
|
favorite
| on:
A file that's both an acceptable HTML page and a J...
JPEG allows for additional data chunks (that's how thumbnails, EXIF data, ... are added). The HTML uses CSS to hide the "body" (since that would include the JPEG header), putting the real content in a container element that poses as new root.
Neat hack.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Neat hack.