How can I embed a PDF in a webpage without showing the Firefox PDF viewer toolbars?

11,882

This question was asked before in a different way.
You should try something like this in your src="" :

<embed src="http://URL_TO_PDF.com/pdf.pdf#toolbar=0&navpanes=0&scrollbar=0" width="425" height="425">

Here is the reference link: Hiding the toolbars surrounding an embedded pdf?

Share:
11,882
Person
Author by

Person

Updated on June 09, 2022

Comments

  • Person
    Person almost 2 years

    How can I embed a PDF in a webpage without showing the Firefox PDF viewer toolbars (and the toolbar overlay in Chrome)?

    Adding #toolbar=0 doesn't seem to affect these viewers.

    I don't want to protect the PDF, I want to make it look cleaner/better on the website.

    Current

    enter image description here

    Desired

    enter image description here

  • Person
    Person over 8 years
    This doesn't work for me, does it work for you in Firefox with the default PDF viewer (not Adobe)?
  • Sari Rahal
    Sari Rahal over 8 years
    This question was asked a little differently in a security question. I will update the answer.
  • Person
    Person over 8 years
    You've copied the answer for a question about Adobe that has a reply saying it doesn't work in Firefox.