O
O
olezhenka2019-03-28 12:48:09
JavaScript
olezhenka, 2019-03-28 12:48:09

How to find out that the user entered the iframe application from a mobile application?

Not from the browser, but from the application. And also to distinguish iPhones from Androids

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dicem, 2019-03-28
@dicem

Pass some variable in the application, well, muti the is_app () function

K
Kirill Novak, 2019-04-19
@kinojs

window.self !== window.top
Checks what is launched from the iframe of the browser (in the mobile application, the launch goes through the built-in browser from the OS, this is not an iframe)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question