This is great. Will probably give the fun police in r/k12sysadmin a heart attack.
Show HN: Tetris in a PDF
11–20 of 238 posts
Re: Show HN: Tetris in a PDF
#12Not only web but majorly all OS pdf renderers support JS. It used to be a major source of malware long back.
Re: Show HN: Tetris in a PDF
#13https://www.nutrient.io/blog/how-to-program-a-calculator-pdf... See here for how we did a calculator in a PDF
Re: Show HN: Tetris in a PDF
#14Oops. I realized now, unknown PDFs are not safe.
Re: Show HN: Tetris in a PDF
#15Wow, I had no idea PDFs could be this dynamic. Doesn't work in Mac OS preview or quicklook but works great in chrome.
Re: Show HN: Tetris in a PDF
#16I printed it but it doesn't work :(
Re: Show HN: Tetris in a PDF
#17I printed it but it doesn't work :(
[deleted]
Re: Show HN: Tetris in a PDF
#18Oops. I realized now, unknown PDFs are not safe.
[deleted]
Re: Show HN: Tetris in a PDF
#19"It was a bit tricky to find a union of features that work in both engines [..]"
I am curious what the constraints are to make this work and in which environments it does? Does it work in PDF viewers outside the browser? Is there documentation what is available in which environment? What is enabled by default, can be switched on or off?
Re: Show HN: Tetris in a PDF
#20They also support iframes! The absolute madness of PDFs is a world wonder. But I'm really still not sure we could do without them.