pipwerks / PDFObject

A lightweight JavaScript utility for dynamically embedding PDFs in HTML documents.
http://pdfobject.com/
Other
2.39k stars 986 forks source link

Remove some buttons and only show one page at a time #284

Closed Boy19991 closed 1 year ago

Boy19991 commented 1 year ago

Greetings,

May I ask is it possible to remove most buttons from the toolbar, especially download, and then only show one page at a time, letting the user navigate from there?

Best regards, Jolly Boy

pipwerks commented 1 year ago

Sorry, toolbars are controlled by the PDF rendering app, and cannot be controlled by PDFObject. There is no standard API for controlling toolbars. You may be able to achieve your goal with a modified version of PDF.js. Good luck