Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new url parameter for disabling warnings in the case of possible data loss #16882

Closed
aki2014 opened this issue Aug 28, 2023 · 1 comment

Comments

@aki2014
Copy link

aki2014 commented Aug 28, 2023

Steps to reproduce the problem:

  1. Because of the following enhancement:
    Notify the user about form data loss when another document is opened #12257
    when leaving a page, we see a waning. But in some cases we don't want to show warnings to users.

I would like to request you to add a new url parameter for disable warning in the case of possible data loss.

  1. The blow is not my post but the same issue as I described here.
    https://stackoverflow.com/questions/74865020/remove-warning-when-navigating-away-from-changed-form-in-pdf-js-viewer
@Snuffleupagus
Copy link
Collaborator

Please note that controlling API- and/or viewer-features using hash parameters was purposely disabled, see issue #4954 for additional information, hence we will unfortunately not be adding any new ones to customize/configure the default viewer.

Also, please see http://mozilla.github.io/pdf.js/getting_started/#introduction (emphasis mine):

The viewer is built on the display layer and is the UI for PDF viewer in Firefox and the other browser extensions within the project. It can be a good starting point for building your own viewer. However, we do ask if you plan to embed the viewer in your own site, that it not just be an unmodified version. Please re-skin it or build upon it.

@Snuffleupagus Snuffleupagus closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants