this may be a security implementation from the browser - preventing malicious websites from forcing tabs to open - but maybe something else.
You could try taking the approach used here:
this may be a security implementation from the browser - preventing malicious websites from forcing tabs to open - but maybe something else.
You could try taking the approach used here: