Yes, because that is a link opened AS A DIRECT RESULT of HUMAN interaction.
It's simply a <a href="..." target="_blank">...</a>
Yours is *NOT* the result of HUMAN interaction. It is pure JS code doing it. Yours is indistinguishable--to the browser--from any advertising popup. (Heck, for all I know, yours might really be an advertising popup.) *COMPLETELY* different thing, from the browsers' perspectives.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.