How do you prevent a javascript redirect from exiting fullscreen mode?
<p>I am trying to redirect to a new url using javascript within an already fullscreen mode but the redirect currenlt exits fullscreen mode which I dont want. Am I using the wrong JS code?</p>

<pre><code> window.location.href = demo_url;
</code></pre>

<p>or</p>

<pre><code> window.location = demo_url;
</code></pre>
