News for hackers. Stuff that matters.
Re:Going Fullscreen with Canvas by rix0r on Monday November 21, 2011 @01:28PM (#3262174)
It also works in Safari 5, surprisingly enough, with ESC to exit fullscreen mode.
Re:Going Fullscreen with Canvas by misterbwong on Monday November 21, 2011 @04:07PM (#3262812)
<evil>

I wonder how difficult it'd be to build a fullscreen browser replacement and have it load automatically. The fake browser could mimic real browser actions and easily mask the url (and all of the browser chrome, for that matter) and inject their own content when a user navigates to an interesting site. All the normal "safe" markers (e.g. green URL bar, security lock on the bottom right, the correct URL) could be shown to the user.

Hmm....

</evil>

Re:Going Fullscreen with Canvas by jlongster on Monday November 21, 2011 @04:33PM (#3262909)
The only way that would be feasible is to use iframes, and you can't inject anything into an iframe.
Re:Going Fullscreen with Canvas by mnutt on Monday November 21, 2011 @05:10PM (#3263023)
It would be a technical challenge, but they could MITM your entire browsing experience. Fullscreen to canvas, then show what looks like a browser. When someone types something in the URL bar the attacker's backend proxies a request to the real site, loads the content, then renders a canvas page of it.

It would probably be too much work for too little payoff to actually make a browser that rendered to canvas, but they could do it for a couple of major target sites like gmail and banks.

Re:Going Fullscreen with Canvas by akx on Wednesday November 23, 2011 @09:46AM (#3270148)
Re:Going Fullscreen with Canvas by smackfu on Monday November 21, 2011 @12:42PM (#3261951)
Surprised that escape doesn't work to exit fullscreen.
Re:Going Fullscreen with Canvas by jlongster on Monday November 21, 2011 @12:47PM (#3261985)
I meant to mention that -- Firefox uses ESC to exit fullscreen but Chrome uses Cmd+Shift+F. They need to standardize that.
Re:Going Fullscreen with Canvas by ajross on Monday November 21, 2011 @01:06PM (#3262072)
Outside the mac world, "F11" is a pretty much universal "toggle full screen" binding. Chrome at least supports with on-screen help when you enter full screen mode.
Re:Going Fullscreen with Canvas by seanalltogether on Monday November 21, 2011 @01:20PM (#3262134)
As you said, F11 is universal for toggling on off, but it's not a good solution when there may be multiple elements on a page which might fight for fullscreen requests. For instance, if I have 4 videos on a page, and F11 is pressed, which video goes full screen? In the context of web browsing, where the user is choosing which elements to launch full screen, the ESC button really should be standardized.
Re:Going Fullscreen with Canvas by ajross on Monday November 21, 2011 @07:41PM (#3263491)
I don't follow. Obviously you can only toggle to full screen for something unambiguous (i.e. the whole browser page). I don't see how pressing ESC helps the user decide which of the videos to launch.

But once you're full screen, F11 does indeed get you back to the original state. So I still don't see why ESC is needed.

Re:Going Fullscreen with Canvas by smackfu on Tuesday November 22, 2011 @12:22PM (#3266389)
>So I still don't see why ESC is needed.

The main reason is that you probably got into full-screen by pressing a button, not the F11 key, and now you just want a "get me out of this" key which escape is better for.

Re:Going Fullscreen with Canvas by smackfu on Monday November 21, 2011 @12:52PM (#3261998)
Ah yes, I'm on Chrome, and I figured that would be a pretty good way to get someone trapped in full screen.
Re:Going Fullscreen with Canvas by cleverjake on Monday November 21, 2011 @12:50PM (#3261992)
esc works for me on 17.0.942.0 dev on OS X
Re:Going Fullscreen with Canvas by Dav3xor on Monday November 21, 2011 @01:07PM (#3262076)
Crap, I want to use this in my web game, but my users are already used to using esc for other stuff.
Re:Going Fullscreen with Canvas by jlongster on Monday November 21, 2011 @01:13PM (#3262096)
Firefox should be coming out with another API call that lets you have full access to keys in fullscreen mode (http://jlongster.com/2011/11/21/canvas.html#keys).

Although you would be breaking the standard convention.

Re:Going Fullscreen with Canvas by abrowne on Monday November 21, 2011 @04:20PM (#3262858)
And for me on 16.0.912.41 beta, also on OS X.
Re:Going Fullscreen with Canvas by ajuc on Monday November 21, 2011 @01:55PM (#3262288)
Don't work on my Kubuntu (Chromium 13.0.782.215 (Build 97094 Linux) Ubuntu 11.04 ).

Nothing happens when I click the button.

EDIT: on Firefox too.

Re:Going Fullscreen with Canvas by roschdal on Monday November 21, 2011 @03:28PM (#3262670)
This is great news for HTML5 game developers!
Re:Going Fullscreen with Canvas by bazookaBen on Monday November 21, 2011 @08:33PM (#3263640)
if you're on Chrome 15+, you can use fullscreen in my HTML5 game. http://chrome.private-joe.com

fullscreen button is bottom right, when the level loads.

Re:Going Fullscreen with Canvas by richtaur on Monday November 21, 2011 @05:01PM (#3263000)
To undo fullscreen in Chrome:

* Command/Shift/F

or

* Command/, (going into Preferences disables it)

Re:Going Fullscreen with Canvas by NHQ on Monday November 21, 2011 @02:49PM (#3262532)
Hey that Gamepad API reads promising.

When is there ever going to be a download API?