Api javascript de tela inteira nativa

addEventListener("click", function(){
var el = document.documentElement;
var rfs = el.requestFullScreen || el.webkitRequestFullScreen || el.mozRequestFullScreen;
rfs
.call(el);
});