When you’re using Google’s Chrome, there is a shorter way:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
--profile-directory="Default"
--app="data:text/html,<html><body><script>window.moveTo(580,240);window.resizeTo(800,600);window.location='http://www.test.de';</script></body></html>"
Pro:
- Automatically opens the window
- Avoids the popup-blocker
- Opens multiple windows on different monitors (multi monitor setup, requires two or more Chrome profiles)
Con:
- Only seems to work in “app” Mode
- Not tested with other browsers