Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 3 件の返信
  • 0 人がこの問題に困っています
  • 4 回表示
  • 最後の返信者: 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.