最新消息:

Tetris in a PDF,在PDF文件里玩俄罗斯方块

佳软 lewuxian 43浏览 0评论

 

 

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”

 

发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址