Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More
Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.
Solved A ti fi pamọ́ fọ́jọ́ pípẹ́

Customize built-in PDF viewer

wyt94yx

Is it possible to remove the printer button and download button in built-in PDF viewer by userContent.css?

Is it possible to remove the printer button and download button in built-in PDF viewer by userContent.css?

All Replies (3)

I found their button-id "secondaryPrint" and "secondaryDownload", but I don't know how to remove them in userContent.css.

Ọ̀nà àbáyọ Tí a Yàn

Do you already have a userContent.css file set up?

/*** Hide buttons in the PDF Viewer Toolbar ***/

/* Main toolbar */
#toolbarViewer #print,
#toolbarViewer #download {
  display: none !important;
}

/* Secondary toolbar (drop-down) */
#secondaryToolbar #secondaryPrint,
#secondaryToolbar #secondaryDownload {
  display: none !important;
}

@jscher2000 Thank you so much!! It totally works!!

Ti ṣàtúnṣe nípa wyt94yx