Linked Questions
12 questions linked to/from Detect fullscreen mode
51 votes
21 answers
30k views
Detecting if a browser is in full screen mode
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 ...
55 votes
5 answers
95k views
Javascript request fullscreen is unreliable
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#...
0 votes
2 answers
3k views
IE full Screen mode using selenium Webdriver
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 ...
1 vote
2 answers
3k views
detect whether the screen is in a full screen
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> &...
3 votes
1 answer
996 views
Javascript: webkitIsFullScreen property IE equivalent
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 ...
0 votes
1 answer
1k views
Detecting fullscreenchange does not work on some android devices
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 ...
0 votes
1 answer
1k views
Detect fullscreen mode on mobile
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 ...
0 votes
1 answer
657 views
Chrome not detecting fullscreen change
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) { ...
1 vote
3 answers
590 views
Display text depending on whether fullscreen is supported and whether already in fullscreen mode or not
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 ...
0 votes
0 answers
640 views
React - Update component if user is in fullscreen
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 ...
0 votes
0 answers
490 views
How to detect when ESC key is pressed in the browser's fullscreen mode
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 ...
1 vote
0 answers
117 views
centering image only when fullscreen
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 ...