iPad Safari popup

2019-01-20 04:24发布

问题:

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 user can at least come to know there is some popup being opened..

Otherwise if the popup setting is blocked, nothing happens when the user clicks on a link which has that popup.

回答1:

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>