Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

Supported Options for display PDF in Internet Explorer/Chrome/Firefox/Edge

#
options
<embed>, <object> direct link
IE(*1) Chrome Edge(*2) Firefox(*3) iOS Safari IE Chrome Edge(*2) Firefox(*4) iOS Safari
1 page=pagenum ✔(*12) ✔(*12)
2 zoom=scale ✔(*12) ✔(*12)
3 zoom=scale,left,top ✔(*15)
4 view=Fit ✔(*16)
5 view=FitH ✔(*5) ✔(*5)(*12) ✔(*5) ✔(*5)(*12) ✔(*17)
6 view=FitH,top ✔(*12) ✔(*12)
7 view=FitV ✔(*18)
8 view=FitV,left
9 view=FitB
10 view=FitBH
11 view=FitBH,top
12 view=FitBV
13 view=FitBV,left
14 viewrect=left,top,wd,ht
15 scrollbar=0 ✔(*6) ✘(*13) ✔(*6) ✘(*13) ✘(*13)
16 scrollbar=1 ✔(*5) ✔(*5)
17 toolbar=0 ✔(*5)(*7) ✔(*14) ✔(*5)(*7) ✔(*14)
18 toolbar=1 ✔(*8) ? ✔(*8) ?
19 statusbar=0 ?(*9) ?(*9)
20 statusbar=1 ? ?
21 navpanes=0 ✔(*10) ✔(*10)
22 navpanes=1 ✔(*10)(*11) ✔(*10)(*11)
23 highlight=lt,rt,top,btm ? ?

(*1) very slow to scroll
(*2) scale varies according to window size
(*3) cannot display PDFs inline, even with the Acrobat plugin
(*4) "open link in new tab" often shows blank page
(*5) default
(*6) cannot use with navpanes=1
(*7) page control bar doesn't hide with toolbar= nor statusbar= option
(*8) toolbar is little unstable. toolbar is sometimes displayed capriciously
(*9) scale like "210 x 297 mm" doesn't hide with statusbar= option
(*10) default is neither 0 nor 1
(*11) toolbar and navigation pane are shown
(*12) the page top doesn't fit on the top of display area
(*13) scrollbar is always shown
(*14) the page top fits on the top of display area
(*15) scale of left and top is unkown (not px or pt)
(*16) use zoom=page-fit instead of view=Fit
(*17) use zoom=page-width instead of view=FitH
(*18) use zoom=page-heigh instead of view=FitV