Peter Kos

Set Default pdf.js Settings in Firefox

Posted on

I wanted a way to set some default parameters in Firefox's PDF viewer to view class lecture notes. No sidebar, page-fit view.

Turns out it's easy!

From support.mozilla.org:

  1. Navigate to about:config in a new tab
  2. Change value of pdfjs.defaultZoomValue to page-fit
  3. Change value of pdfjs.sidebarViewOnLoad to 0

Done!