google-chrome - 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:
First page is displayed normaly.
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.
解决方案
我遇到了同样的问题(但在另一个网站上)。经过调查,这似乎与 SameSite cookie 有关。
您可以通过将此标志设置为已禁用然后重新启动 Chrome 来修复它:
chrome://flags/#same-site-by-default-cookies
更新:在 Chromium 错误跟踪器中发现与此问题相关的问题:
https://bugs.chromium.org/p/chromium/issues/detail?id=961617
推荐阅读
- c++ - 将带有参考时间的时间戳转换为格式化时间
- highcharts - Highcharts 条形图正在偏移
- http - 在 Arduino Uno Wifi Rev 2 上使用 WiFiNina 库发布请求
- web-audio-api - 自动化后获取 Web Audio 节点或参数的值
- dictionary - Python字典不添加新键
- laravel - 用户连接
- javascript - 我在按钮上添加了一个“加号”。当用户点击按钮时,“加”号被替换为“减号”并显示 div 内容
- javascript - 以编程方式创建角度组件工具提示
- html - 如何正确使用 `XPath` 定位器,例如`parent`、`child`、following-sibling`?
- mysql - 通过在sql中对多于一列进行分组来查找列中的最小值