A
A
Alexey Yarkov2015-09-18 20:52:38
HTML
Alexey Yarkov, 2015-09-18 20:52:38

How to know if a page is loaded in a frame or not?

Created an app for OK. You need to find out on the page whether it is loaded in a frame or not, and depending on this, display buttons or not.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2015-09-21
@yarkov

Judging by the question, a mobile HTML application is being made
According to the documentation https://apiok.ru/wiki/pages/viewpage.action?pageId...
container No Boolean Will be passed as true if inside a native app.
If container is not passed, then it is opened in a new window (browser) and the back button is necessary. If passed - then the application is loaded in the webview of the native client OK

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question