Print.js
Print.js copied to clipboard
avoid blank page on safari and firefox
Blank page issue still occurs with Firefox v114 and Safari. For this reason I propose to add a delay for both browsers and all versions.
Hi @crabbly Could you please take a look on this PR? It resolves the issue mentioned here: #528
Thanks @crabbly @acapellacci
@acapellacci The most recent version of Print.js has not yet been published, unfortunately, so the chances are that the master branch actually works with Firefox v114?
Do you have the issue with Firefox v114 using print-js-updated
https://github.com/crabbly/Print.js/issues/665#issuecomment-1597107088 ?
@acapellacci
At least it was proven in the past that Firefox 110.0 does not work with the added timeout, so this PR might inadvertently reintroduce https://github.com/crabbly/Print.js/issues/665 for Firefox 110.0 ?
If the timeout is needed for more recent versions of Firefox (114) and for some earlier versions (110.0) it should be removed, the condition should probably be still kept and needs to be more specific about the Firefox version?
@acapellacci
At least it was proven in the past that Firefox 110.0 does not work with the added timeout, so this PR might inadvertently reintroduce #665 for Firefox 110.0 ?
If the timeout is needed for more recent versions of Firefox (114) and for some earlier versions (110.0) it should be removed, the condition should probably be still kept and needs to be more specific about the Firefox version?
The issue occures in Safari 16.6 and Firefox 115