Archives: January 2015
1 article
Hide Vimperator bottom bar
Copy the following snippet in your Vimperator configuration file (mine is ~/.vimperatorrc):
map <silent> <C-F8> :js toggle_bottombar()<CR>
:js << EOF
function toggle_bottombar() {
var bb = document.getElementById('liberator-bottombar');
if (!bb)
return;
bb.style.height = (bb.style.height == '') ? '0px' : '';
bb.style.overflow = (bb.style.height == '') ? '' : 'hidden';
}
EOF
Restart Firefox, then type ctrl+F8 to hide/show the bottom bar. As the author warns, you must first make the bar visible in order to execute commands.
This is useful to me when watching a video in fullscreen because the bar is always on top.