Close iPhone webapp

扶醉桌前 提交于 2019-12-10 18:13:40

问题


I want to just close or minimize (hide) full-screen iPhone web application.

How to do this? window.close(); doesn't work.


回答1:


You can't. You cannot quit the browser from JavaScript.

But you could try to make the browser crash... not that this would be a good idea.




回答2:


I'm not really sure why you would want to do this, but you cannot.



来源:https://stackoverflow.com/questions/10342230/close-iphone-webapp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!