79377887

Date: 2025-01-22 13:34:23
Score: 1
Natty:
Report link

This happens because you are trying to open a window without user interaction, you send a form - this is interaction - but after you receive a response to the request, you try to do this without direct user interaction. As a result, the blocker is triggered

You can make a modal window that will open when you click on the form submission and spin the loader. After you receive a response - you will show a button when clicked on which you will call window.open(...) or even add a link with the attribute target='_blank'

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nikolay Kazmirchuk