How can I indicate that a popup has been blocked by Safari?

前端 未结 1 1852
深忆病人
深忆病人 2020-12-11 09:49

In Safari for iPad, if the popups are disabled, is there any way to get the bar at the top..like in IE which says \"...website trying to open popup..\"

I mean the us

相关标签:
1条回答
  • 2020-12-11 10:25

    The only way that I know of to get a new window to open up in Mobile Safari is to use the target="_blank" (and I guess target="_new") attribute.

    <a href="my_popup_page.html" target="_blank">Open 'popup'</a>
    
    0 讨论(0)
提交回复
热议问题