0

I used Iframe in

<iframe id="ifr" src="{self.href}#toolbar=0" type="application/pdf" width="100%" height="500"> 

it will hide toolbar from google chrome but not from mozila firefox.how to hide toolbar from firefox

Anjali
  • 21
  • 1
  • 1
  • 5
  • Please share printscrn of the page. – Deepesh kumar Gupta Aug 01 '18 at 12:17
  • This depends on the PDF viewer the client uses. This has neither to do with HTML, CSS or JS nor is there an option on the `iframe` element to disable anything in a third-party plugin. For example Chromium-based browsers use [PDFium](https://opensource.google.com/projects/pdfium) per default. (see chrome://credits/ for as list of internally used software) – feeela Aug 01 '18 at 12:19
  • Possible duplicate of [Disable/Hide download button in iframe on default PDF Viewer](https://stackoverflow.com/questions/41586093/disable-hide-download-button-in-iframe-on-default-pdf-viewer) – Jishad Aug 01 '18 at 12:19
  • More Like Browser Dependent issue. – Deepesh kumar Gupta Aug 01 '18 at 12:19
  • `#toolbar=0` is probably not supported by all PDF viewers, and even if no toolbar is visible, I can still use the save and print options from the context menu – feeela Aug 01 '18 at 12:26
  • @deepeshkumar I want to hide toolbar from mozila firefox – Anjali Aug 02 '18 at 10:38

0 Answers0