简体   繁体   中英

How can I make the browser window slimmer?

The default browser window has a limited minimum width. I like to work with a slim browser on the right and a wide editor on the left.

How can I make the browser's window slimmer? How can I resize the browser window?

This can be achieved with JavaScript:

//path should be with "http://" unless it is local or something
newwindow=window.open(<path>, 'name', 'height=650, width=320, top=0, left=1200');

The code will open a new window that is more resizeable. The window has lower minimum width, and another plus: has smaller top bar overall.

Open the project with this kind of window from JavaScript in another webpage.

Here is a GitHub project for just opening this resizable browser window.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM