Tetris in a PDF,在PDF文件里玩俄罗斯方块,主要演示PC桌面浏览器PDFium 、PDF.js 支持的Javascript的I/O原子计算能力足以可以实现简单的游戏
https://th0mas.nl/downloads/pdftris.pdf
https://news.ycombinator.com/item?id=42645218
Hacker News评论区有人提醒:意味着要注意PDF.js 对Javascript支持的安全性问题。
Firefox禁用方案:about:config-> pdfjs.enableScripting 设置为false
Chrome:Settings->Advanced->Site Settings->PDF Documents->Enable “Download PDF files instead of automatically opening them in Chrome”