Second parameter must be the window name:

<input type="button" value="new win" 
    onclick="window.open('http://yahoo.com', 'mywindow', 'width=500, height=400')"  />

Working fine in Chrome and Firefox:

http://jsfiddle.net/DvMy5/2/

Answer from Alex on Stack Overflow
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › API › Window › open
Window: open() method - Web APIs | MDN
Note: open() calls cannot be used to register an attribution trigger. ... By default, window.open opens the page in a new tab. If popup is set to true, it requests that a minimal popup window be used. The UI features included in the popup window will be automatically decided by the browser, generally including an address bar only.
Discussions

Open new browser window using "window.open" method is not working in the ForgeApp
Hi Team, I'm trying to open an external link from the Forge app using Windows.open('URL'). I am not able to open a new browser window. But I am able More on community.atlassian.com
🌐 community.atlassian.com
June 27, 2022
window.open doesn't open a fresh window every time
When I run window.open, it opens up and whatever the contents were before appear while it loads the new contents. So in my system, you can click purchase item, and it directs you to a payment provi... More on stackoverflow.com
🌐 stackoverflow.com
ajax - Javascript window.open not working - Stack Overflow
The standard popup-blocker logic ... calls to window.open() that are not the direct result of a user action. Code that is triggered by timers or by any asynchronous callback (like your ajax ready function) will be treated as NOT caused directly by user actions and the new popup window ... More on stackoverflow.com
🌐 stackoverflow.com
Window.open not working for me
I am trying to render a new webpage per value of the input type number but I have not gotten it. HTML JAVASCRIPT/JQUERY $("#start").click(function(){ if($("#year").val()===2018) { window.open(... More on forum.freecodecamp.org
🌐 forum.freecodecamp.org
0
0
August 7, 2018
🌐
Vivaldi
forum.vivaldi.net › topic › 1552 › window-open-doesn-t-work-properly
Window.open(); doesn't work properly | Vivaldi Forum
March 7, 2015 - All that asside, the behavior of window.open() is documented in the W3C standard, by people with a broader understanding of its use, and is defined to open a new window of a given size (hence the width, height params) not a new tab which is forced into the size of the opened browser and dominates the view.
🌐
W3Schools
w3schools.com › jsref › met_win_open.asp
Window open() Method
The open() method opens a new browser window, or a new tab, depending on your browser settings and the parameter values.
🌐
Atlassian Community
community.atlassian.com › q&a › jira › questions › open new browser window using "window.open" method is not working in the forgeapp
Open new browser window using "window.open" method is not working in the ForgeApp
June 27, 2022 - Hi Team, I'm trying to open an external link from the Forge app using Windows.open('URL'). I am not able to open a new browser window. But I am able to open a new browser tab using the router.open() method provided by forgeApp. The window will be opened in a new window in accordance with the needs...
🌐
Google Groups
groups.google.com › g › google-web-toolkit › c › I40UtQ2IukU
Window.open not working on Chrome 5 ( GWT 2.0.4 )
Hello all, I can't seem to get Chrome to open a new window using the Window.open() function. It seems to work fine if the function is called from a click handler, but not when called directly. Using Firefox and Internet Explorer the following code launches a window on load and a new window ...
🌐
Webmaster World
webmasterworld.com › javascript › 3930663.htm
window.open() fails to open a new window - JavaScript and AJAX forum at WebmasterWorld - WebmasterWorld
June 10, 2009 - But they will load behind the opener, and the user thinks your site is broken. I agree with LIA, a "blank" value for "window name" is a good suspect for "null or not an object." Note my changes below, using the date() function, which insures a new window will always be opened for any clicked link (if it's not blocked.)
Find elsewhere
🌐
freeCodeCamp
forum.freecodecamp.org › javascript
Window.open not working for me - The freeCodeCamp Forum
August 7, 2018 - I am trying to render a new webpage per value of the input type number but I have not gotten it. HTML JAVASCRIPT/JQUERY $("#start").click(function(){ if($("#year").val()===2018) { window.open(...
🌐
JavaScript.info
javascript.info › tutorial › frames and windows
Popups and window methods
This way users are somewhat protected from unwanted popups, but the functionality is not disabled totally. The syntax to open a popup is: window.open(url, name, params): ... An URL to load into the new window.
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 4099412 › i-cannot-open-a-new-window-next-to-an-open-window
I cannot open a new window next to an open window This issue still exists after the latest update 23h2 - Microsoft Q&A
November 9, 2023 - To do this, open the Run dialog (Win + R), type explorer.exe /reset and press Enter. This will reset the File Explorer settings, and you might need to customize them again afterward.
Top answer
1 of 4
13

Thanks for reply. None of those options worked. The problem is 50/50, some hyperlinks it works find, others hyperlinks it doesn't.

  • Right clicking option is disabled (greyed out).
  • Holding CTRL doesn't work either. It still opens it in a new browser window
  • The problem seems to depend on the hyperlink.
  • I ran the powershell option on a test PC and nothing changed.
  • I know there is a way to fix this because my PC (profile) works just fine. I have a few other staff that work fine. But anytime I hire a new person or they log into the PC profile of their own, it reverts back to opening up links in a new window.

Chrome has a simple option that says (open links in a new tab), is there no simple setting option in edge? My company I'm contracted with requires us to use edge.

2 of 4
5

Hi JDSuser, welcome to the Microsoft community, my name is Bruno Leonel.

We will be happy to help and see if we can resolve this issue for you. Follow some of the recommended suggestions below that have helped others.

I understand that you are having problems opening links in a new tab and I will try to help you in the best way.

There are some possibilities to open a link in the same tab see below:

In Microsoft Edge, you can open a link in a new tab, just right-click on the link and then choose “Open in a new tab”

You can also use the Ctrl key (press it and keep it pressed) and click with the left mouse button and the link will open in a new tab.

NOTE: If the links that are opening in a new window are from the google search site

At the bottom of the page click settings -> search settings

And confirm that the following option is checked: "Open each selected result in a new browser window"

Give it a try, if it doesn't work, check the steps below:

To try to resolve it, follow the steps below:

step 1

With Microsoft Edge open press Alt+F;

Click "Settings" / "Reset Settings" / "Restore Settings to Default Values";

And confirm by clicking Reset;

Close the browser and open it again.

After this process, check if you are in agreement.

Step 2

Note: If when opening Microsoft Edge, a Welcome tab opens, it means that the browser has been reset. Make a backup of your bookmarks before performing this action.

Close Microsoft Edge.

Open the start menu and type PowerShell.

Right-click Run As Administrator.

Copy and paste the command below:

Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "C:\Windows\SystemApps\*Edge*\AppXManifest.xml"}
$manifest = (Get-AppxPackage *Edge*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest

After the command execution is complete, try to open Microsoft Edge.

If the answer helped in any way, please mark it as an answer, if your question has not been solved, please post again.

I hope I helped, see you later!

🌐
OutSystems
outsystems.com › forums › discussion › 65977 › open-link-in-a-new-window-not-tab
Open link in a new window (NOT TAB) | OutSystems
I have a link on my page, and I want it to open it in a new window (not a new tab) when clicking it. Currently, this link points to a new screen action, and in this new screen action I have a RunJavaScript server action with the following script: · However, it still open the link in new tab ...
🌐
Google Support
support.google.com › chrome › thread › 68466857 › can-not-open-a-website-in-a-new-dedicated-window-anymore
Can not open a website in a new dedicated window anymore - Google Chrome Community
September 1, 2020 - Skip to main content · Google Chrome Help · Sign in · Google Help · Help Center · Community · Google Chrome · Terms of Service · Submit feedback · Send feedback on
🌐
Microsoft Learn
learn.microsoft.com › en-us › troubleshoot › developer › browsers › development-website › cannot-open-in-new-tab-or-window
Open in new tab or window not working - Internet Explorer | Microsoft Learn
June 15, 2021 - The retired, out-of-support Internet Explorer 11 desktop application has been permanently disabled through a Microsoft Edge update on certain versions of Windows 10. For more information, see Internet Explorer 11 desktop app retirement FAQ. Often due to the installation of other applications that either re-register or update existing interface registrations, Internet Explorer fails to perform the Open in new window and Open in new tab functions properly.
🌐
Reddit
reddit.com › r/chrome_extensions › open new window (not new tab)?
r/chrome_extensions on Reddit: Open new window (not new tab)?
May 17, 2025 -

I'm trying to have a new window opened from the extension popup, but the best I can get is a new tab.. js that would work fine on a normal html page window.open("https://website.com", "aaaaa", "width=500,height=500") just opens a new tab instead when ran from the extension popup is there some special way with chrome.tabs API or whatever..? I tried looking online but all the code I could find (even stuff specifically for manifest v3 or whatever) didn't do anything at all.

🌐
Mozilla Support
support.mozilla.org › en-US › questions › 1086555
New Window doesn't open a new window regardless if I do a Cntrl-N or select it from the File menu. | Firefox Support Forum | Mozilla Support
October 1, 2015 - However, I would like to start using Firefox as my primary browser and would like to be able to open new windows instead of new tabs. Please advise. ... Safe Mode to check if one of the extensions (Firefox menu button/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem. Switch to the DEFAULT theme: Firefox menu button/Tools > Add-ons > Appearance · Do NOT click the Reset button on the Safe Mode start window