Try not to bypass a popup blocker as the popup's blocker's primary purpose is so that ONLY upon click it can cause a redirect ( or something ), but trying to do the redirect later will eventually be blocked by a popup blocker.
This is the same reason why window.open
should not be executed in a setTimeout