首页 > 解决方案 > Why does Google Chrome only displays the first page a pdf file?

问题描述

I'm facing a problem with Google Chrome. One of my PDF only shows the first page and the rest looks as following:

Example:

enter image description here First page is displayed normaly.

enter image description here

It recognizes the amount of pages in the PDF.

If I download the PDF, it is completely fine and useable, I even can open it in Chrome and it works fine. The problem doesn't occur on Firefox or Safari.

I'm using Google Chrome Version 85.0.4183.83 (Official Build) (64-bit)

Thanks for your help.

标签: google-chromepdf

解决方案


我遇到了同样的问题(但在另一个网站上)。经过调查,这似乎与 SameSite cookie 有关。

您可以通过将此标志设置为已禁用然后重新启动 Chrome 来修复它:

chrome://flags/#same-site-by-default-cookies

更新:在 Chromium 错误跟踪器中发现与此问题相关的问题:

https://bugs.chromium.org/p/chromium/issues/detail?id=961617

推荐阅读