How to open a browser window without any bars like

2019-04-21 18:51发布

问题:

I am looking to open a url (html file) without any kind of address bars, bookmarks bar so that the user just sees the application window. Is there a way to do so?

回答1:

window.open(url,'window','toolbar=no, menubar=no, resizable=yes');

You can read about these and more of the options here.