V
V
Victoria Novozhilova2018-03-05 17:00:47
Classmates
Victoria Novozhilova, 2018-03-05 17:00:47

How to distinguish "OK games" from the browser?

How to distinguish where the user launched the application: in "OK games" or in the browser?
It turned out that animated loaders do not work in "OK games", because. Frame constructors don't work.
I would like to replace the loader specifically for "OK ​​games", and display the animated one in the browser.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dgreen, 2018-03-06
@WikysyaN

User-Agent must have a part of OKApp

M
Maxim Egorichev, 2018-03-06
@MaksimEgorichev

Can you describe the problem with the loader in a little more detail? What exactly doesn't work? How can we reproduce/verify this?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question