Linked Questions

51 votes
21 answers
30k views

Is there any way of reliably detecting if a browser is running in full screen mode? I'm pretty sure there isn't any browser API I can query, but has anyone worked it out by inspecting and comparing ...
Simon Lieschke's user avatar
55 votes
5 answers
95k views

I'm trying to use the JavaScript FullScreen API, using workarounds for current non-standard implementations from here: https://developer.mozilla.org/en/DOM/Using_full-screen_mode#...
Stefan's user avatar
  • 9,439
0 votes
2 answers
3k views

I want to check if Internet Explorer window is in fullscreen mode or not? I use driver.Manage().Window.Maximize(); It maximizes window only but does not switched to FullScreen view. Is there any ...
Syed Ali Mesam's user avatar
1 vote
2 answers
3k views

I made a button to allow the screen to go to full screen and vice versa. However, there is also shortcut for user to go to full screen using the computer/laptop button F11. <html> <head> &...
user avatar
3 votes
1 answer
996 views

According to this documentation, Internet Explorer does not support something like webkitIsFullScreen or like mozFullScreen property. I need to read if browser is in full screen mode. Is there any way ...
Ajax's user avatar
  • 606
0 votes
1 answer
1k views

I am currently trying to use the <video> tag to, obviously, display videos. If the user clicks on the video (or poster image) it will trigger my script to set the video to fullscreen through the ...
Uirri's user avatar
  • 273
0 votes
1 answer
1k views

I had lost much time to search for detecting fullscreen mode on mobile. But the result I find out is only for browser desktop. Here Detect fullscreen mode Is there any way to detect fullscreen mode ...
Ngoc Phuong Le's user avatar
0 votes
1 answer
657 views

I am trying to remove a class from an element when the user presses escape and exits full screen on chrome. My code: document.addEventListener('onwebkitfullscreenchange', function(e) { ...
Marc Fletcher's user avatar
1 vote
3 answers
590 views

I'm very new to Javascript. I'm trying to display a text depending on whether the browser supports fullscreen and whether it is already displaying fullscreen or not. At the top of a page I added the ...
Marty's user avatar
  • 2,264
0 votes
0 answers
640 views

I am making a div fullscreen in React and want to change its class if the browser is in fullscreen mode. Unfortunately, the only proper way to detect that browser is in fullscreen mode is a variable ...
Mika Drakolis's user avatar
0 votes
0 answers
490 views

I have the code below for identifying when the user press the ESC key. It works fine in Safari when the browser is not in fullscreen mode. But I can't make it work when it is in fullscreen mode. Any ...
Julio S.'s user avatar
  • 1,000
1 vote
0 answers
117 views

I want to center an image on the screen only when it's on fullscreen. As of right now, every time I make my screen smaller in width the center image moves which messes up the entire page because I ...
slime9's user avatar
  • 11