Chrome PDF inline viewing: contentscript.js: Uncaught TypeError: Cannot read property 'appendChild' of null when viewing a PHP generated PDF

Chrome PDF inline viewing: contentscript.js: Uncaught TypeError: Cannot read property 'appendChild' of null when viewing a PHP generated PDF

有人知道为什么当我打开 PHP 生成的 PDF(使用 FPDF 库)时 Chrome 在控制台上给我以下错误吗?下面是截图:

什么是 contentscript.js,为什么我会收到此错误消息?

它能以某种方式修复吗? Firefox 不会 return 这个错误。

它是您在 Google Chrome 中的扩展程序之一。此错误是您特有的。检查您的 Chrome 扩展程序。