Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Learn More

How do I disable the toolbar when using the Firefox PDF Reader?

  • 2 respostas
  • 12 têm este problema
  • 1 visualização
  • Última resposta de loriR

more options

I have a website that contains an embedded PDF. I want to be able to remove the toolbar and scroll bars that display when using the Firefox PDF Reader.

It is my understanding that I could switch to the Adobe Reader, as they seem to have options that can be set that can achieve what I need, but I am on Linux and there is no longer support for Linux environments.

Is there a way to remove the toolbar and scroll bars when viewing a PDF?

Any help would be appreciated. Thank you.

I have a website that contains an embedded PDF. I want to be able to remove the toolbar and scroll bars that display when using the Firefox PDF Reader. It is my understanding that I could switch to the Adobe Reader, as they seem to have options that can be set that can achieve what I need, but I am on Linux and there is no longer support for Linux environments. Is there a way to remove the toolbar and scroll bars when viewing a PDF? Any help would be appreciated. Thank you.

Solução escolhida

I'm not aware of any setting that removes the toolbar in Firefox's PDF viewer. A custom style rule could do it on a user-by-user basis, for example:

#outerContainer #mainContainer div.toolbar {
  display: none !important; /* hide PDF viewer toolbar */
}
#outerContainer #mainContainer #viewerContainer {
  top: 0 !important; /* move doc up into empty bar space */
}

Example before-and-after screenshot attached.

You can apply custom style rules to content displayed in Firefox using either a userContent.css file or the Stylish extension. Is that something you might want to try?

Ler esta resposta 👍 2

Todas as respostas (2)

more options

Solução escolhida

I'm not aware of any setting that removes the toolbar in Firefox's PDF viewer. A custom style rule could do it on a user-by-user basis, for example:

#outerContainer #mainContainer div.toolbar {
  display: none !important; /* hide PDF viewer toolbar */
}
#outerContainer #mainContainer #viewerContainer {
  top: 0 !important; /* move doc up into empty bar space */
}

Example before-and-after screenshot attached.

You can apply custom style rules to content displayed in Firefox using either a userContent.css file or the Stylish extension. Is that something you might want to try?

more options

This worked very well. Thank you for your timely response and thorough answer!