MZ Possible to use F11 for fullscreen?

Sorry if this is the wrong place, but not really sure.

I have no real knowledge when it comes to javascript, or anything along those lines.

One thing I was wondering if it's possible to use a script that I could run by a common event or something else to toggle fullscreen on/off via F11, instead of having to go through the options in game?

I do have a buttoncommonevents plugin I use that lets me bind common events to keyboard/gamepad buttons. So was wondering if there's a script that toggles fullscreen, so I can just bind it to that key, and not have to go the options every time I want to turn it on/off.
Doesn't F4 already do that?

It's not a key defined in the engine, so it's hard coded into the browser interface...you might be able to redefine it to F11 if you specifically want that key for some reason, but you could just tell your players in the documentation what they can press.
Doesn't F4 already do that?

It's not a key defined in the engine, so it's hard coded into the browser interface...you might be able to redefine it to F11 if you specifically want that key for some reason, but you could just tell your players in the documentation what they can press.
much appreciated, I 100% forgot about it. Been on a relatively long hiatus until recently.

This thread served its purpose
toggle fullscreen on/off via F11

CTB_F11_Fullscreen Plugin: Click Here to Download

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/possible-to-use-f11-for-fullscreen.151947/