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
{{ message }}
This repository has been archived by the owner on May 18, 2024. It is now read-only.
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:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: