How to open a browser window without any bars like address bars, bookmarks bars etc in javascript?

后端 未结 1 747
粉色の甜心
粉色の甜心 2021-02-07 12:41

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条回答
  •  余生分开走
    2021-02-07 13:31

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

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

    0 讨论(0)
提交回复
热议问题