Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make PDF undownloadable using pdf.js

I found the pdf.js project, which is very useful. However, I am unable to figure out how to remove the "Download" option.

like image 235
sathyam1992 Avatar asked Jul 09 '13 12:07

sathyam1992


1 Answers

just add this in viewer.css

.download
{
    display:none !important;    
}

.print
{
    display:none !important;
}
like image 168
vignesh Avatar answered Oct 10 '22 05:10

vignesh