I have tried below approaches, but in both situations, iOS Safari will treat my new tab as a popup (I always see a popup warning message)
Approach 1.
window.open(url, "_blank");
Approach 2.
let a = document.createElement("a");
a.href = url;
a.target = "_blank";
a.click();
Expected behavior:
New Safari tab opens seamlessly without user explicitly 'allow' the popup
Actual behavior:
User needs to click 'Allow' before new tab opens
Is there a way to programmatically achieve expected behavior?