6

I want to open a download link without opening a blank page (then, I won't be using window.open). Then I'm using window.location.href or window.location.assign. But the problem is that both methods disconnects my websockets connection. How can I workaround this?

Just to be clearer, no error messages are thrown and I tested it on chrome. Websockets just stops working.

João Paulo
  • 6,300
  • 4
  • 51
  • 80

0 Answers0