You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are creating an anchor tag and setting its target to _blank and we are performing click action via javascript. Safari on ios is assuming it as a popup and is blocking it, it works when Block Popup is turned off. .
Can we add check for Safari to avoid link.target='_blank, and then the file will open on same tab. One issue with this solution is that, on ios Safari and Chrome have same userAgents so it will be difficult to differentiate between them.
The text was updated successfully, but these errors were encountered:
We are creating an anchor tag and setting its target to
_blank
and we are performing click action via javascript. Safari on ios is assuming it as a popup and is blocking it, it works whenBlock Popup
is turned off..
Can we add check for Safari to avoid
link.target='_blank
, and then the file will open on same tab. One issue with this solution is that, on ios Safari and Chrome have same userAgents so it will be difficult to differentiate between them.The text was updated successfully, but these errors were encountered: