Auto Fullscreen

Is it possible to run this code in habpanel to auto switch to full screen.

// Find the right method, call on correct element
function launchFullScreen(element) {
  if(element.requestFullScreen) {
  } else if(element.mozRequestFullScreen) {
  } else if(element.webkitRequestFullScreen) {

// Launch fullscreen for browsers that support it!
launchFullScreen(document.documentElement); // the whole page
launchFullScreen(document.getElementById("videoElement")); // any individual element


Since this is an old post:
Is there any update on this?
I would like to ‘auto click’ the full screen button of HABpanel, or toggle the browser into full screen mode automatically, just like clicking on the double arrow button.