I believe that friends who have used window.open have encountered situations where the page cannot be popped up due to being blocked by the browser. Let's change our thinking and ask, under what circumstances will the pop-up of a new page not be blocked by the browser? For example, the tag will not; then we only need to simulate the user to actively click on the tag and there will be no interception problem.
First define the HTML tags: