I'm making a Chrome extension that depends on using popups. This is a problem if Chrome is in fullscreen mode as they do not appear.
I can disable programatically enabled fullscreen mode by using:
document.webkitCancelFullScreen()
However this does not work if the user has enabled fullscreen mode manually (F11 key). Is there a way to disable this or is it intentionally meant to only be manually disabled?