Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Scheduled maintenance

Heads up! Downtime for the Forums, related to the NodeBB upgrade, is planned for Thursday, June 27, starting from 07:00 UTC.
Please make sure to finish all your posts before this time. The downtime should only last for a few minutes. set to auto print crashes if opened window is closed

  • I submitted a help ticket, but it looks like no way to see if it's going to be worked on or acknowledged.

    if you have an html page with a simple text input and a button which calls to another html page, which has a window.print() fire on load, and you close that new window without printing or canceling the print dialog. It will then crash the original page unless you go to another tab and then go back.

    minimum code:

    index body -

    <input type="Text" name="inpt1" /><br/>  
    <input type="button" value="Print" onclick="'popup.html', '', 'width=690,height=465,resizable=1,scrollbars=0,menubar=0,status=0');" />  

    popup -

    <script type="text/javascript">

    That's enough for it to crash.

Log in to reply