The easiest way is to add the hidden class to a specific button on the toolbar (the download button in this case)
PDF.JS has a hidden class included by default in its CSS file. So just add the hidden class to the button with the identifier download and secondaryDownload
source share