Generally, the biggest problem with popping up a new window directly using the
window.open method is that it is intercepted by some browsers or tools. This problem is difficult to solve.
The last time I suddenly thought about it was when the user clicked a connection and a new window popped up. If you can’t intercept it, why not use JS to simulate this click event, so try it right away.
It sure works, haha, the source code of the following implementation method: