viewer-snippet-chrome-overlays.html 953 B

123456789101112131415161718192021222324252627282930
  1. <dialog id="chromeFileAccessDialog">
  2. <div class="row">
  3. <!-- The extension icon (PDF.js logo) will be shown at the left, to help
  4. users with recognizing which checkbox they have to click when they
  5. visit chrome://extensions.
  6. -->
  7. <p id="chrome-pdfjs-logo-bg" style="
  8. display: block;
  9. padding-left: 60px;
  10. min-height: 48px;
  11. background-size: 48px;
  12. background-repeat: no-repeat;
  13. font-size: 14px;
  14. line-height: 1.8em;
  15. word-break: break-all;">
  16. Click on
  17. "<span id="chrome-file-access-label">Allow access to file URLs</span>"
  18. at
  19. <a id="chrome-link-to-extensions-page">chrome://extensions</a>
  20. <br>
  21. to view <span id="chrome-url-of-local-file">this PDF file.</span>
  22. </p>
  23. </div>
  24. <div class="row">
  25. <p>
  26. or select the file again:
  27. <input type="file" id="chrome-file-fallback" accept=".pdf">
  28. </p>
  29. </div>
  30. </dialog>