Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #30010

Re: Full screen button

Path csiph.com!2.eu.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Full screen button
Date Tue, 15 Mar 2016 22:34:28 +0100
Organization PointedEars Software (PES)
Lines 29
Message-ID <3781904.PvWYmMTpRm@PointedEars.de> (permalink)
References <nc7njs$1509$1@gioia.aioe.org> <nc8krh$7ge$1@news.albasani.net>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1458077672 22093 eJwFwQERACAIA8BM4MbOOIDQP4L/PGHRQjDA5V48HtUck8zzSZHzbIyZi3EN3IjbVYHO/RhcEV0= (15 Mar 2016 21:34:32 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Tue, 15 Mar 2016 21:34:32 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwFwYkBADAEBLCVqNYzDo79R2jyRFnbrj69b996gOzMlBiSTeGYQAOzKVuYrkyy6NuhzgneE0WifqZW6AOTCBcY
Cancel-Lock sha1:Cc+S/+0KWnq2LVuxQp14305+/9Y=
X-NNTP-Posting-Host eJwFwYEBwCAIA7CXhNJOzkEZ/59gQsh0vxAVHM503647Vm7QidmSyMm1EbA+iMWssHT3H/UAKzQQxw==
Xref csiph.com comp.lang.javascript:30010

Show key headers only | View raw


Stefan Weiss wrote:

> On 03/15/2016 02:13, emf wrote:
>> How can I make it stay in full screen when you click on a link, like
>> when you press F11?
> 
> As far as I know, that's not possible, but you can use a workaround:
> navigation inside an iframe will preserve the fullscreen mode, so you
> could just load the whole thing in an iframe.

Interesting idea.  Unfortunately, it works only as long as oneself or the 
authors of the resources navigated to are not running a general frame 
breaker.  So that would need to be adapted to recognize the iframe that
one wants, and there is no remedy for when you navigate to other sites.

I am at a loss to see the logic in the decision-making process of browser 
vendors here.  The fullscreen mode cannot be enabled without user 
interaction either way (“Failed to execute 'requestFullScreen' on 'Element': 
API can only be initiated by a user gesture.”), and if the user is enabling 
fullscreen mode without script involvement using e.g. the F11 key, the 
browser window *stays* in fullscreen mode until the user disables it *even 
when navigating*.  Why can it not just stay in fullscreen mode as well if 
enabling the mode is scripted?  It’s a bug, not a feature.
 
-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Full screen button emf <emfril@gmail.com> - 2016-03-14 21:13 -0400
  Re: Full screen button Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-15 08:44 +0100
    Re: Full screen button John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-15 09:44 +0000
      Re: Full screen button "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-15 12:16 +0100
        Re: Full screen button John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-15 20:13 +0000
          Re: Full screen button "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-15 22:18 +0100
            Re: Full screen button John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-16 15:56 +0000
              Re: Full screen button "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-16 17:36 +0100
                Re: Full screen button John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-17 10:44 +0000
                Re: Full screen button "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-17 13:31 +0100
                Re: Full screen button John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-18 09:28 +0000
                Re: Full screen button "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-18 10:42 +0100
                Re: Full screen button Aleksandro <aleksandro@gmx.com> - 2016-03-17 23:30 -0300
    Re: Full screen button emf <emfril@gmail.com> - 2016-03-17 06:03 -0400
      Re: Full screen button "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-03-17 11:51 +0100
    Re: Full screen button Dr J R Stockton <reply1600@merlyn.demon.co.uk.invalid> - 2016-03-20 21:12 +0000
  Re: Full screen button Stefan Weiss <krewecherl@gmail.com> - 2016-03-15 10:32 +0100
    Re: Full screen button Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-15 22:34 +0100
    Re: Full screen button emf <emfril@gmail.com> - 2016-03-17 03:58 -0400
      Re: Full screen button emf <emfril@gmail.com> - 2016-03-17 04:45 -0400
  Re: Full screen button markluvji1@gmail.com - 2016-07-23 04:37 -0700

csiph-web