How can I launch a browser with no window frame or tabs/address bar

I am looking for a way to launch Chrome, Firefox, or IE9+ (any one will do) from a script or command line without any window frame, address bar, or tabs section.

Illustration:

OrangeBox

For instance, I'd like to only be able to see the section that is comprized of the orange box, and the area inside of it.

The horizontal scroll bar won't be an issue (I control the html that will be displayed and I can ensure it won't need to scroll). Ideally I'd like to cut out the vertical scrollbar, but I could live with it if it were shown.

Does anyone know of any tool or script that would allow me to do this on Windows 7?


Solution 1:

Internet Explorer

For Internet Explorer you can use -k (kiosk mode):

Starts Internet Explorer in kiosk mode. The browser opens in a maximized window that does not display the address bar, the navigation buttons, or the status bar.

Example:

iexplore.exe -k http://www.google.com/

Read more about this:

  • Internet Explorer Command-Line Options (native commands)

  • Open Internet Explorer in Specific Height and Width (script)


Firefox

Firefox command line option -fullscreen didn't work for me:

"firefox.exe" -url http://superuser.com -fullscreen

But the use of R-kiosk 0.9.0 extension by Kimmo Heinaaro works like a charm.

Real Kiosk is a Firefox extension that defaults to full screen, disables all menus, toolbars, key commands and right button menus. Alt+Home still takes you home.

Solution 2:

For chrome/chromium it is the --app=http://address.com flag.

You would use it by calling chromium-browser --app=http://some.website.org or google-chrome --app=http://www.google.com or chrome.exe --app=http://you.get.it etc.

All available switches: http://peter.sh/experiments/chromium-command-line-switches/

EDIT: You might also want to take a look at the --kiosk flag.

Solution 3:

for firefox use

firefox.exe -chrome http://example.com

Works like a charm but it is not a documented command line option.

Note: the size of the window is calculated based on the size of the body, make sure you specify the necessary window size in html.

Solution 4:

This is trivial to do, via the Chrome extension "Open As Popup".

Opens the current Tab as a Popup-Window

This Extension is really simple: Click on the Icon and the current Tab will be moved to a new Poup-Window. (A Popup-Window is a Window without Navigation- and Tabbar, so it takes much less vertical-space)

You don't know how this could be useful? I use it as example for API-References or Manuals which I use beside or overlapping my Editor so they take less space without the Navigation- and Tabbar.