Windows 10 reached EOS (end of support) on October 14, 2025. For more information, 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

Customize built-in PDF viewer

  • 3 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 152 views
  • Last reply by 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?

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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;
}
Read this answer in context 👍 1

All Replies (3)

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

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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!!

wyt94yx மூலமாக திருத்தப்பட்டது