Q:

Can I resize the window width from a web app?

I'm developing a webapp and in Ubuntu 14.04 I have this doubt:
Can I resize the window width from a web app? How?

For @terdon question:
Code: https://launchpad.net/unity-webapps-telegram
The app is opening always like this: 

I'd like open the app with this width: 

Thanks in advance!

A:

Thanks to the kindness of a developer, I can give some information to my questions.
I can't resize the window as a W3C standard operation; There isn't an explicit APIs for that, and generally move away from letting apps manage their sizes, to prepare for the desktop convergence.
You should assume that the shell will present you in an appopriate way; You must to add / obseve some viewport metadata at some point to know whether you are a side-stage app or a fullscreen one.
Best regards!

