10

I would like to run chrome in app mode without using a windows frame and the title bar?

At the moment I start chrome in this way: chrome.exe --app=http://url.com --app-shell-host-windows-bounds. That works but there is still the window frame with the title frame visible. The user should not have the opportunity to close, maximize or minimize the chrome window. Furthermore I want to have special size for the chrome browser. But the switch --app-shell-host-windows-bounds does not have any effect with the size e.g. 600x1024 or 1024x600.

How can change the size of the browser window with this switch?

Hennes
  • 65,804
  • 7
  • 115
  • 169

2 Answers2

1

Developers have madness if allow "The user should not have the opportunity to close, maximize or minimize the chrome window. ". But it possible do it with external tools(i don't will say how).

You can set size and position with this command line:

--window-size=1024,600
--window-position=600,600

Here more info.

Chromium command line switches

0

I use this script to start chrome without any bar visible (title, tools, url...) on my left screen:

@echo off

set CHROME_EXE=c:\Program Files (x86)\Google\Chrome\Application\chrome.exe

set CHROME_SETTINGS=
set CHROME_SETTINGS=%CHROME_SETTINGS% --window-position=-1928,-30
set CHROME_SETTINGS=%CHROME_SETTINGS% --window-size=1936,1050
set CHROME_SETTINGS=%CHROME_SETTINGS% --app=http://10.67.213.20:8080/left.html

start "" "%CHROME_EXE%" %CHROME_SETTINGS%
Aubin
  • 193