开发者

How to detect when Mobile Safari is closed?

 $(window).bind('beforeunload',function(){
 alert('closing');
 })

Above code only seems to work for desktop browsers开发者_运维技巧.


You can do alerts on unload, but mobile safari doesn't seem to have beforeunload.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜