On Windows 11, by default, taskbar buttons are merged. Opening a new window of the same browser stacks it under the same icon.
This was the architecture. The windowFeatures string. This is where you ceased to be a coder and became an architect, dictating the laws of physics for this new digital space.
Leo typed the third argument, a string of comma-separated directives.
window.open('report.pdf', 'ReportWindow', 'width=500,height=600');
He held his breath and clicked the button.
Whoosh.
A separate, floating window appeared on top of his main browser. It was 500 pixels wide, 600 tall. But it still had the location bar, the bookmarks bar, and the toolbar. It looked like a full browser squeezed into a small box. Sarah wanted it clean. She wanted a "Kiosk mode."
Leo gritted his teeth. He had to explicitly turn things off. By default, the browser assumes you want the chrome (the UI). To get rid of it, you have to set the features to 0 or no.
He refined his code:
const features = "width=500,height=600,left=100,top=100,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes";
const newWindow = window.open('report.pdf', 'ReportWindow', features);how to open new window new
He clicked again.
The result was beautiful. A sleek, chromeless window popped into existence at coordinates (100, 100) on his screen. It had scrollbars because the PDF was long, but no address bar to distract the user. It was a pure viewing portal.
This is for opening a specific link in a new window: On Windows 11, by default, taskbar buttons are merged
| Method | Steps |
|--------|-------|
| Keyboard shortcut | Press Ctrl + N |
| Browser menu | Click the 3 dots (Chrome/Edge) or 3 lines (Firefox) → New window |
| Right-click a link | Right-click any link → Open link in new window |
Let me know your exact context (browser extension, web app, desktop app, or end-user help article), and I’ll give you a precise implementation or documentation snippet.
Implementation considerations:
To open a new folder window: