.printInBackground is not working on Mac OS monterey 12.5.1 with Chrome

Hi there,

This post seems to talk about the issues of accessing the iframe through cross-origin:

It looks like window.postMessage can help with this problem.

Here is a similar forum post regarding the issue:

which leads to using this guide to setup config file for cross-origin:

Best Regards,
Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.


Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here