Skip to content

[Feature]: Replace browser context menu to download file #2

Description

@SuperPat45

Is the feature relevant to the Firefox PDF Viewer?

No

Feature description

One of the major drawbacks of the embedded versions of pdf.js is that the browser's native context menu includes a "Save As..." option that saves the viewer's web page rather than the PDF.
If you're not careful, you might lose the PDF.

To fix this, you should replace it with a custom menu containing a “Download” option, and you can take this opportunity to add items from the original pdf.js menu:

  • Download
  • Print
  • Slide Show
  • Go to First Page
  • Go to Last Page
  • Rotate Clockwise
  • Rotate Counterclockwise
  • Text Selection Tool
  • Hand Tool
  • Document properties

Other PDF viewers

Original embedded pdf.js has the same problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions