hide title bar firefox 4.0.1 on Ubuntu linux

hide title bar firefox 4.0.1 on Ubuntu linux
Google一通,发现所谓lHideChrome,Hide Caption之类插件都是浮云,最后发现一个给力的,如下:
下载userChromeJS插件:http://downloads.mozdev.org/userchromejs/userChromeJS-1.3.xpi
编辑:
~/.mozilla/firefox/XXXXXX.default/chrome/userChrome.js:

(function() {
var win_ctrl = document.getElementById("window-controls");
win_ctrl.setAttribute("fullscreencontrol", "false");
win_ctrl.setAttribute("hidden", "false");

var mainWindow = document.getElementById("main-window");
mainWindow.setAttribute("hidechrome", "true");

})();

That's all.

你可能感兴趣的:(hide title bar firefox 4.0.1 on Ubuntu linux)