let blankWin = window.open('about:blank', '_blank'); blankWin.document.write('Hello, world!');
Managing files often requires dragging and dropping items between two different folders. To do this, you need two separate windows open.
If you already have a folder open and want a duplicate window of that exact location, press Ctrl + N . macOS Finder
Both browsers also offer private/new private windows using Ctrl + Shift + N . how to open new window new
key while clicking a link to open it directly in a new window instead of a new tab. Drag and Drop:
<a href="https://external.com" target="_blank" rel="noopener noreferrer"> External Site <span class="visually-hidden">(opens in new window)</span> </a>
The absolute fastest way to open a new window is by using your keyboard. Memorizing these two universal shortcuts will save you hours of clicking over time. On Windows & Linux let blankWin = window
If you want to browse without saving your history, cookies, or form data, you can open a private window.
Leo typed the third argument, a string of comma-separated directives.
newWindow = new Window(content) newWindow.owner = mainWindow newWindow.show() macOS Finder Both browsers also offer private/new private
Knowing is not just about clicking a button. It is about controlling your digital environment to maximize productivity.
Before diving into the “how,” it’s important to understand why you might prefer a new window over a new tab. Tabs are great for keeping related pages within the same workspace, but windows offer distinct advantages: