How do you know that the user has clicked in an iframe app with a mobile app?

Not from the browser, namely with the application. And more to distinguish iPhone from Android
March 19th 20 at 08:59
2 answers
March 19th 20 at 09:01
Give the app some kind of variable, well, Muti function is_app()
March 19th 20 at 09:03
window.self !== window.top

Check that you are running with iframe, the browser (in a mobile application running via the built-in browser from the OS, it's not iframe)

Find more questions by tags VKontakteJavaScript