I want to download a pdf file from pdf.js viewer but i am not able to download the file.

I also tried to download using this way:

1. Open the particular pdf in the reader to full screen.
2. Launch inspect.
3. Look for a hidden download button with id download styled as display: none,
4. Change that to display: inline to make it visible.
5. Click the button to download your pdf.

But still I am not able to download the file.