This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Disable Save menu entry from Firefox built-in PDF Viewer on local Linux system

  • 3 replies
  • 0 have this problem
  • 4 views
  • Last reply by zeroknight

more options

I would like to prevent users to navigate on the Linux system when they view a PDF and then use the Save option. The "PDFjs" policy enables or disables the PDF Viewer but does not control the built-in PDF Viewer menus.

I would like to prevent users to navigate on the Linux system when they view a PDF and then use the Save option. The "PDFjs" policy enables or disables the PDF Viewer but does not control the built-in PDF Viewer menus.

All Replies (3)

more options

I thought the Save button in the built-in PDF viewer worked the same way as Save Page As... (Ctrl+S). I don't suppose there is a policy to lock Save Page As (or the context menu Save [object] As... entries) to a specified downloads directory?

(I'm going to flag this thread to be moved over to Firefox for Enterprise since there should be more policy gurus there.)

more options

There's a bug being worked on to remove Save dialogs:

https://bugzilla.mozilla.org/show_bug.cgi?id=1708289

but we currently don't have a way to do this.

As a work around, you can force the download directory to something like /dev/null and that should work (in theory), although I haven't tested with pdf.js specifically.

more options

Firefox 124 will allow blocking file dialogs with the AllowFileSelectionDialogs enterprise policy.