> PDF forms now support JavaScript embedded in PDF files. Some PDF forms use JavaScript for validation and other interactive features. As far as I can tell I still can't play breakout in a PDF in Firefox though (and I think that's for the better) [0] https://rawgit.com/osnr/horrifying-pdf-experiments/master/br... [1] https://www.youtube.com/watch?v=6rbJu10Telc
Firefox 88.0
21–30 of 209 posts
Re: Firefox 88.0
#22> PDF forms now support JavaScript embedded in PDF files. Some PDF forms use JavaScript for validation and other interactive features. The amount of complexity that one can put into a PDF is both surprising and a tad frightening.
I have an idea. Why not allow embedding a full browser engine inside of a PDF, complete with tabs and extensions? I hate having to leave Adobe Acrobat in order to read my Gmail, so I think this feature could be really useful. Anyone who builds a PDF can include their own custom browser that their users will love.
Re: Firefox 88.0
#23I thought FTP support had been removed a long time ago for some reason! I have very fond memories of FTP but I guess its time has come. I probably haven't used it for 10 years at this point.
Re: Firefox 88.0
#24...why. Obviously it's easy to add it to the overflow bar, but it was handy having it there. Especially on pages that block right-clicking (including for good reasons, like games).
Re: Firefox 88.0
#25I thought FTP support had been removed a long time ago for some reason! I have very fond memories of FTP but I guess its time has come. I probably haven't used it for 10 years at this point.
Re: Firefox 88.0
#26> PDF forms now support JavaScript embedded in PDF files. Some PDF forms use JavaScript for validation and other interactive features. The amount of complexity that one can put into a PDF is both surprising and a tad frightening.
I'm still waiting to see a port of Doom in one. PDFs natively support 3D models!
Just add a couple of lines of js for DOOM in the browser, now in js in a pdf in a browser!
Re: Firefox 88.0
#27Glad that they're still looking after Linux users.
Re: Firefox 88.0
#28> PDF forms now support JavaScript embedded in PDF files. Some PDF forms use JavaScript for validation and other interactive features. The amount of complexity that one can put into a PDF is both surprising and a tad frightening.
Re: Firefox 88.0
#29Earlier quoted context omitted.
I have an idea. Why not allow embedding a full browser engine inside of a PDF, complete with tabs and extensions? I hate having to leave Adobe Acrobat in order to read my Gmail, so I think this feature could be really useful. Anyone who builds a PDF can include their own custom browser that their users will love.
Well if you can run interactive javascript then you're mostly there, PDF is pretty much Turing complete so you can just crosscompile a browser into it using javascript to take care of the interactive parts, though you might need to rewrite the rendering logic.
[0] https://www.cs.odu.edu/~zeil/cs390/latest/Public/turing-comp...
Re: Firefox 88.0
#30> PDF forms now support JavaScript embedded in PDF files. Some PDF forms use JavaScript for validation and other interactive features. The amount of complexity that one can put into a PDF is both surprising and a tad frightening.
True, but I don't see how it would be any worse than running JS on any other web page. Assuming it is implemented in a safe way, that is.