开发者

Detecting interaction with browser UI within Mobile Safari [closed]

开发者 https://www.devze.com 2023-03-24 01:56 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. Want to impr开发者_JS百科ove this question? Update the question so it focuses on one problem only by ed
Closed. This question needs to be more focused. It is not currently accepting answers.

Want to impr开发者_JS百科ove this question? Update the question so it focuses on one problem only by editing this post.

Closed 2 years ago.

Improve this question

Is anyone aware of a way with JS to detect interaction with the native UI in mobile Safari. An example event would be a click on the URL bar or the bookmarks icon. I'd like to be able to trigger a change on the page with JS on these events.

Any ideas?


No, JavaScript does not have access to these events. You would need to use a plug-in.

Your best hope is to detect the mouse leaving the browser pane.

0

精彩评论

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

关注公众号