mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Suppress browser autofill on page number
What the user did: Open the PDF Viewer in Chrome; Mouse click into the “Page number” input field; What they saw: A pop-up list with seemingly random numbers What you were expecting to see: Nothing What they see is the Chrome “Autofill” feature at work – that is suggesting values that you have previously entered into number fields in forms, as possible values you may want to enter into this field. The list has nothing to do with the PDF currently open but the user does not know this.
This commit is contained in:
parent
96923eb2a6
commit
69b3ab4c41
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|||
<span data-l10n-id="next_label">Next</span>
|
||||
</button>
|
||||
</div>
|
||||
<input type="number" id="pageNumber" class="toolbarField pageNumber" title="Page" value="1" size="4" min="1" tabindex="15" data-l10n-id="page">
|
||||
<input type="number" id="pageNumber" class="toolbarField pageNumber" title="Page" value="1" size="4" min="1" tabindex="15" data-l10n-id="page" autocomplete="off">
|
||||
<span id="numPages" class="toolbarLabel"></span>
|
||||
</div>
|
||||
<div id="toolbarViewerRight">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue