Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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

  • 3 回覆
  • 0 有這個問題
  • 11 次檢視
  • 最近回覆由 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.

所有回覆 (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.