How to make PDF undownloadable using pdf.js

前端 未结 7 1257
长发绾君心
长发绾君心 2021-02-04 12:50

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

7条回答
  •  囚心锁ツ
    2021-02-04 13:35

    Here are the steps:

    1. Add jQuery library to shared folder.
    2. Include jQuery library to viewer.html file
    3. Add this on the header section:

      
      

    Done!

提交回复
热议问题