Live data from Hacker News

Firefox 88.0

mozilla.org

21–30 of 209 posts

Re: Firefox 88.0

#21

> 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

Maybe the form is doing a browser check instead of a feature check and just needs to be updated?

Re: Firefox 88.0

#22
post #3

> 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.

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.

Re: Firefox 88.0

#23

I 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.

I would have been happier if it had just be locked down to secure connections only. I have used FTP to quickly share files to colleagues at times and this will be broken now. I'm sure I was in a very minimal percentage but it was handy to just send someone an FTP link. Now if I don't want to have to upload it to an external service I will have to share it through my web server which brings up all kinds of MIME type issues, etc. I know, edge use case.

Re: Firefox 88.0

#24
> The ‘Take a Screenshot’ feature was removed from the Page Actions menu in the url bar. To take a screenshot, right-click to open the context menu. You can also add a screenshots shortcut directly to your toolbar via the Customize menu. Open the Firefox menu and select Customize…

...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

#25

I 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.

Chrome 76 (July 2019) dropped FTP support.

Re: Firefox 88.0

#26
post #3

> 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!

https://js-dos.com/DOOM/

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

#27
>Smooth pinch-zooming using a touchpad is now supported on Linux

Glad that they're still looking after Linux users.

Re: Firefox 88.0

#28
post #3

> 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.

Here goes me opening PDFs in Firefox.

Re: Firefox 88.0

#29

Earlier 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.

PDFs are definitely not Turing complete. [0]

[0] https://www.cs.odu.edu/~zeil/cs390/latest/Public/turing-comp...

Re: Firefox 88.0

#30
post #3

> 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.

pdf documents are usually not created by web developers but by other people and then uploaded to the website. all it takes is a way to have someones computer infect a pdf with malicious js code, which, (if such an infection is possible) is way more likely to slip through than an attacker embedding malicious js into the website itself.
Post reply on HN