<div class="gmail_quote">2009/12/16 Jonas Sicking <span dir="ltr"><jonas@sicking.cc></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">
2009/12/16 Ian Fette (イアンフェッティ) <<a href="mailto:ifette@google.com">ifette@google.com</a>>:<br>
> 2009/12/16 Jonas Sicking <jonas@sicking.cc><br>
>><br>
>> 2009/12/16 Ian Fette (イアンフェッティ) <<a href="mailto:ifette@google.com">ifette@google.com</a>>:<br>
>> > I think what I've heard from application developers over and over again<br>
>> > is<br>
>> > that, while the UA may provide some way to go into full screen from in<br>
>> > the<br>
>> > browser chrome, it is much more discoverable when that capability exists<br>
>> > from within the content area (e.g. people are used to clicking on the<br>
>> > full<br>
>> > screen button in YouTube, and when you take that away users can no<br>
>> > longer<br>
>> > figure out how to go full screen).<br>
>> > Obviously there are security considerations re: UI spoofing, but I'm<br>
>> > beginning to wonder how much we should beat ourselves over this. If<br>
>> > there<br>
>> > are simple things that we can do to improve upon the model Flash uses<br>
>> > (e.g.<br>
>> > don't have a translucent overlay but instead use an opaque overlay, or<br>
>> > use<br>
>> > an overlay that doesn't go away until the user dismisses it, etc)<br>
>> > without<br>
>> > totally killing current use cases and discoverability, then let's<br>
>> > consider<br>
>> > that. Overall though, it feels like we are burying our head in the sand<br>
>> > a<br>
>> > bit by saying "Well, as long as HTML doesn't provide a way to go full<br>
>> > screen, the users are safe and it's not *our* fault if anything bad<br>
>> > happens," when the reality is that Flash is installed on 98-99% of all<br>
>> > machines out there and anyone who is really trying to phish people using<br>
>> > this method could easily use flash instead of whatever we provide. (And<br>
>> > yes<br>
>> > I'm aware people can turn off flash, but those users sophisticated<br>
>> > enough to<br>
>> > use noflash can probably figure out if they are in full-screen mode or<br>
>> > not.)<br>
>> > -Ian<br>
>><br>
>> In addition to UI spoofing there is also the "annoying websites"<br>
>> factor. There is today API for pages to resize the browser window,<br>
>> which I know that some pages abuse to resize the browser window to be<br>
>> as big as possible. This API is one of very few that Firefox has<br>
>> specific API to turn off, because its one of the APIs that annoy users<br>
>> the most.<br>
>><br>
><br>
> You could tie it to user gestures, e.g. only allow a page to call<br>
> fullscreen() in response to a user gesture, much as many browsers will block<br>
> popups that do not result from a user gesture. Not perfect, but a large<br>
> improvement.<br>
><br>
>><br>
>> As for flash going full screen. I heard something regarding that while<br>
>> in full screen mode flash disables certain capabilities, in order to<br>
>> reduce the risk of spoofing. Such as the ability to receive keyboard<br>
>> events. Haven't investigated this at all though.<br>
>><br>
><br>
> correct<br>
><br>
>><br>
>> I'm also not sure what you mean by "can probably figure out if they<br>
>> are in full-screen mode or not". How would you figure this out? Other<br>
>> than by installing a non-standard skin for your desktop or browser?<br>
>><br>
><br>
> If you can only call fullscreen() in response to a user gesture, and there<br>
> is some reasonably obvious thing that happens when you go full screen<br>
> (hopefully a bit more obvious than what Flash currently does), then I'm<br>
> hoping a sophisticated user who knows about noflash could figure out that<br>
> they just went into fullscreen. As for the unsophisticated user, they're<br>
> already "at risk" by flash, hopefully we could do better than flash, but if<br>
> not, I think I would be willing to accept being on-par with Flash on this<br>
> issue.<br>
<br>
</div></div>You need to ensure that the user is actively looking at the screen<br>
though. If the user is getting back to a screen that is now in<br>
fullscreen mode it seems hard to impossible to tell in the general<br>
case. Unless you slab a bar at the top screen that constantly says<br>
"Fullscreen mode, take caution".<br></blockquote><div><br></div><div>tie to user gesture, or make it stay until the user actively dismisses it (click an x on it, i dunno).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
I guess that if you enforced that fullscreen could only happen in<br>
response to a click then you are in better shape. I'd say you should<br>
try implementing this in chrome :)<br>
<br>
As for comparisons to flash, one of the goals of the mozilla project<br>
is to improve the web, not stay on par with flash ;)<br>
<font color="#888888"><br></font></blockquote><div><br></div><div>yes, I'm all about improving it too. But at some point we need to stop throwing our hands up in the air and saying "well, we will provide this safer way, which no one will use, and therefore we've made the web a better place."</div>
<div><br></div><div>:)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font color="#888888">
/ Jonas<br>
</font></blockquote></div><br>