0

Possible Duplicate:
How to make in Javascript full screen windows (stretching all over the screen)

How do I emulate pressing F-11 in a browser using Javascript?
(I assume it will be different in Chrome,IE and FF?)

Community
  • 1
  • 1
Itay Moav -Malimovka
  • 52,579
  • 61
  • 190
  • 278
  • 3
    http://stackoverflow.com/questions/1125084/how-to-make-in-javascript-full-screen-windows-stretching-all-over-the-screen – Robert Harvey May 18 '10 at 16:19

3 Answers3

4

You can't. Browsers do not expose an API that makes this possible.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
4

This used to be possible (anybody remember "chromeless windows" in IE4 or 5? Those were brilliant!) but isn't any more for security reasons.

Almost all browsers come with a "Kiosk mode" (Internet Explorer e.g. using iexplore -k on the command line) that enables full-screen browsing but obviously, this has to be initiated on the client's end.

Pekka
  • 442,112
  • 142
  • 972
  • 1,088
0

Using JS, - move the window to 0,0 make the width the same as the screen width, make the height same height as the page.

Glycerine
  • 7,157
  • 4
  • 39
  • 65