I have:
DisableNewWindow=FALSE
DisableNewTab=TRUE
DisableNewWindowInit=FALSE
but the hyperlinks don't do anything when clicked. If I change DisableNewTab to FALSE, they will open in a new tab.
The hyperlinks use target="_blank" to force a new window.
How can I make PWB open in a new window?
Thanks.
Hyperlink won't open in new window, only in new tab
Re: Hyperlink won't open in new window, only in new tab
Generally hyper links that use "target="_blank" will open in a new tab window not a new browser window.
https://www.w3schools.com/tags/tryit.as ... ink_target
To open a new browser window you need to do something like the following.
--Scott
https://www.w3schools.com/tags/tryit.as ... ink_target
To open a new browser window you need to do something like the following.
Code: Select all
<button onclick="window.open('https://example.com', 'popup', 'width=600,height=400');">
Open Popup
</button>
Re: Hyperlink won't open in new window, only in new tab
Thanks Scott,Scott wrote: Tue Apr 07, 2026 10:15 am Generally hyper links that use "target="_blank" will open in a new tab window not a new browser window.
https://www.w3schools.com/tags/tryit.as ... ink_target
To open a new browser window you need to do something like the following.
--ScottCode: Select all
<button onclick="window.open('https://example.com', 'popup', 'width=600,height=400');"> Open Popup </button>
We'll try this and let you know.
I'm curious though, why PWB is not letting the browser open new windows. Even if we right click on the link and choose "Open in new Window", nothing happens. Yet, the links open fine if we paste the link into the address bar. If your solution works, that is fine since we control the homepage that PWB is opening, but if we did not, we'd be stuck. Older versions (we used CEF) didn't have any issue opening these links. Are there other settings that we are missing?
David
Re: Hyperlink won't open in new window, only in new tab
What is the URL you are testing with?
--Scott
--Scott

