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) {
    element.requestFullScreen();
  } else if(element.mozRequestFullScreen) {
    element.mozRequestFullScreen();
  } else if(element.webkitRequestFullScreen) {
    element.webkitRequestFullScreen();
  }
}

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

/Mike

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.