Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome: remove window border / decoration

Is it possible somehow via a Chrome extension to remove most of the window border content (like address bar, tab bar)?

I'd like to have some standalone windows with some webpages inside but without any space wasted.

My purpose is for example to build a Chrome extension which strips everything out from the site except the Flash/video/whateverobject and scales that to the full size of the window. So I get a Chrome window with just the video inside and no space wasted on anything else (like address bar or tab bar or whatever). Similar as for example the VLC player window.

I searched a bit around but found nothing a like. Although I can remember that I have heard of something similar which Google called standalone web applications or so: Where you could create links on your desktop to web applications which just look like desktop applications because they don't have the address bar. But I cannot find this feature (or how to do this with my Chrome).

like image 434
Albert Avatar asked Jun 27 '10 15:06

Albert


1 Answers

typing this in your console opens the current page in a new window, without the bookmark or the tab bars:

javascript:window.open(location.href, "detab", "toolbar=0"); window.close()

You can have your extension do the same.

like image 183
tldr Avatar answered Nov 11 '22 04:11

tldr