为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to disable PDF viewer default navigation pane?

  • 5 个回答
  • 2 人有此问题
  • 106 次查看
  • 最后回复者为 cor-el

more options

When any PDF contains bookmarks, the built-in PDF viewer defaults the navigation pane open to the bookmarks tab. It also flows the navigation pane OVER the PDF content when launched. If I maximize the window, the nav pane will dock to the side and allow the full document to be viewed, but not when it is first launched. Is there a way for me to change the behavior and only expose the nav pane if I choose to open it?

Thanks!

When any PDF contains bookmarks, the built-in PDF viewer defaults the navigation pane open to the bookmarks tab. It also flows the navigation pane OVER the PDF content when launched. If I maximize the window, the nav pane will dock to the side and allow the full document to be viewed, but not when it is first launched. Is there a way for me to change the behavior and only expose the nav pane if I choose to open it? Thanks!

被采纳的解决方案

You can set this pref to true on the about:config page.

  • pdfjs.disablePageMode = true

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

定位到答案原位置 👍 0

所有回复 (5)

more options

选择的解决方案

You can set this pref to true on the about:config page.

  • pdfjs.disablePageMode = true

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

Works perfectly, thanks a bunch!

more options

You're welcome.

Note that Firefox adds a green dot to the toggle sidebar button in the PDF Viewer when there are multiple pages.

more options

Since Firefox updated to 67.0, the above solution does not work. I do have pdfjs.disablePageMode = true but I have to always toggle the sidebar off. Is there any way that by default the sidebar (on the left side) does NOT appear when I open a PDF in Firefox?

Thanks, Steve

more options

The pref to set the sidebar behavior has been changed in Firefox 67.

  • pdfjs.sidebarViewOnLoad = 0