Mozilla Firefox has released a fix for a long-pending issue related to forcing users to save PDFs. The company has added the relevant fix to Firefox 78 in the Nightly channel. As per the fix, Firefox prevents websites from forcing users to directly save PDF files. This is without opening them in the web browser window.
The browser will first open the PDF file on your Firefox browser and then you can save the file by clicking the Download option. It took nearly 9 years to resolve the problem after the initial reporting of the issue way back in 2011, adds The Windows Club.
You should note that many websites provide PDF documents with the below HTTP header
Content-Disposition: attachment; filename=”whatever.pdf”
The above code is an indicator of the web browser that the PDF file should be saved with the specified name instead of opening the file in a new browser window. However, Firefox provides an integrated PDF viewer. It’s up to you to decide whether you would like to view or save PDF documents. Mozilla resolved over 430 bugs in the Firefox 78 Nightly channel.
Mozilla has redesigned the Reader view to match the rest of the Photon user interface. This includes a new Toolbar, which is horizontally placed with clear labels for customization capabilities. The Window position can be configured from the command line interface. Gecko has provided support for pushing and splitting flex items for single-line flex containers.
Mozilla has updated the Spidermonkey JavaScript engine with a new Regular Expression engine with support for RegExp Lookbehind. Moreover, Gecko provides support for Read-only and Read-write pseudoclasses unprefixed. The Firefox DevTool informs users as to which extension blocked a particular resource. As of this writing, Firefox 77 is currently in the beta mode and is expected to become stable on June 2, 2020. You can expect the release of Firefox 78 Stable build in July.