Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gildas
on Dec 28, 2024
|
parent
|
context
|
favorite
| on:
How to Create HTML/ZIP/PNG Polyglot Files
Here is the demo file (cf. the first paragraph and the end of the article):
https://github.com/gildas-lormeau/Polyglot-HTML-ZIP-PNG/raw/...
Aardwolf
on Dec 28, 2024
|
next
[–]
This opens a download dialog for me rather that render the html (in firefox on android)
gildas
on Dec 28, 2024
|
parent
|
next
[–]
This is done on purpose, so you can rename the file to make sure it's polyglot.
Aardwolf
on Dec 28, 2024
|
root
|
parent
|
next
[–]
Thanks, on an actual computer it's easy to check :)
gildas
on Dec 29, 2024
|
root
|
parent
|
next
[–]
For the record, I've just added a link to view the file without downloading it.
gavindean90
on Dec 28, 2024
|
prev
[–]
A screenshot would help
edflsafoiewq
on Dec 28, 2024
|
parent
[–]
A screenshot of what? It just looks like a normal web page.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: