Вопрос

With javascript, I'm going into fullscreen mode with

document.documentElement.webkitRequestFullScreen();

When the url of the page changes (even if the change is done by playing with the history) we exit fullscreen mode in Chrome (not Firefox).

Is there something that can be done so that we don't exit Fullscreen mode in Chrome if we're staying on the same domain?

I see here Display and navigate inside a website in fullscreen that it can be done with an iframe but I would really rather avoid iframes.

Это было полезно?

Решение

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top