Is there a way to view the browser window full screen using jQuery or javascript?

Possible duplicate:
How to make Javascript in fullscreen windows (stretching across the screen)

I am developing a web application with an interface in javascript and jQuery. It would be reasonable for the application to capture the entire screen of the client (not to be confused with the browser window). Essentially, I would like the user to be able to click a button to enter this full-screen mode. (If you know about Netflix full-screen mode, then I'm looking for this functionality.)

Does anyone have any ideas on how I can implement this?

+4
source share
4 answers

no josΓ©!

This is a security feature to prevent spam and spoofing. This will allow the user to place their browser in full screen mode.

+3
source

If this were possible without user intervention, this would be a serious security issue. Flash has a very controlled version that can only be activated as a result of user input. I think this is what Netflix uses?

+1
source

Something like this is possible: https://developer.mozilla.org/en/window.resizeTo

0
source

If it were possible, you would see that this happens all the time with intrusive advertising. Let them hope that this is impossible.

0
source

Source: https://habr.com/ru/post/1344396/


All Articles