Not only web but majorly all OS pdf renderers support JS. It used to be a major source of malware long back.
Show HN: Tetris in a PDF
41–50 of 238 posts
Re: Show HN: Tetris in a PDF
#42https://en.wikipedia.org/wiki/Pegasus_(spyware)#Vulnerabilit...
Re: Show HN: Tetris in a PDF
#43Re: Show HN: Tetris in a PDF
#44You glorious bastard, what a cool project! This is already a contender for most hacker project of the year :-) (below is not serious) I would advise people against using this in production though because it's still missing some critical features. For example: 1. The Javascript stops working when printed to physical paper. The resulting paper just has a static image and the controls no longer work. 2. It doesn't work…
Re: Show HN: Tetris in a PDF
#45Back in school pdfs would circulate that had a bunch of flash games on them. I have no idea how or who made them, but they let us play dolphin olympics on lab computers with no internet connection.
Excel for games and PowerPoint for stick animations. You'd spend hours in CAD class just creating PowerPoint animations and not doing any CAD. I regret this decision now and wish that I had paid some attention. 3D printers are cool and I have no idea how to design objects for it.
Get Solvespace: https://solvespace.com/index.pl
Do the tutorials. If/when you outgrow it, the concepts will carry over to FreeCAD which otherwise has a steeper learning curve but has more capabilities.
Re: Show HN: Tetris in a PDF
#46Re: Show HN: Tetris in a PDF
#47You glorious bastard, what a cool project! This is already a contender for most hacker project of the year :-) (below is not serious) I would advise people against using this in production though because it's still missing some critical features. For example: 1. The Javascript stops working when printed to physical paper. The resulting paper just has a static image and the controls no longer work. 2. It doesn't work…
-- this comment made my me laugh/choke on my coffee and I have no regrets.
Re: Show HN: Tetris in a PDF
#48You glorious bastard, what a cool project! This is already a contender for most hacker project of the year :-) (below is not serious) I would advise people against using this in production though because it's still missing some critical features. For example: 1. The Javascript stops working when printed to physical paper. The resulting paper just has a static image and the controls no longer work. 2. It doesn't work…
Just wait until e-paper replaces the real one ;)
Re: Show HN: Tetris in a PDF
#49Not just web browsers, Acrobat (and probably other PDF readers) have supported executing Javascript in PDFs for decades.
I see from time to time that younger generations reinvent/rediscover the wheel and I chuckle.