seamonkey and palemoon fullscreen no navbar

read the title

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name        seamonkey and palemoon fullscreen no navbar
// @namespace   http://bzzzzdzzzz.blogspot.com/
// @description read the title
// @author      BZZZZ
// @include     *
// @version     0.1
// @grant       none
// @run-at      document-end
// ==/UserScript==

(function(){
var a=document.createElementNS("http://www.w3.org/1999/xhtml","div");
a.setAttribute("onclick","document.documentElement.addEventListener('keypress',new Function('ev','if(ev.key==\"F11\"){ev.preventDefault();if(document.mozFullScreen)document.mozCancelFullScreen();else document.documentElement.mozRequestFullScreen();}'),false)");
a.click();
})();