We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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