Firefox - Multiple windows and/or sub windows issue

elwayisgod
elwayisgod used Ask the Experts™
on
Hi,

I have a cloud based program that certain links open up in a completely new 'sub window'.  Original window in the browser remains.  I can perform tasks in this new window.  HOwever, when I select another link that uses a 'sub window' also, the previous 'sub window' is replaced by the new one.  Is there a way to get these to not replace each other or have them open up in a new tab on the browser instead.

Thanks in advance, it's driving me crazy :)
2019-02-18_12-03-01.pdf
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
The reason they are replaced is due to the way the link is setup.

To open a link in a new window you do this

<a href="http://server/link" target="_blank">Link Text</a>

Open in new window

With the above example - each click on a link will open a NEW window.

If you want to send the output to the same window you use a named window for the target. For instance let's pick a name of 'account_details'

<a href="http://server/link" target="account_details">Link Text</a>

Open in new window

With the above example - each click on a link will open in the SAME window.

I don't know how your application is setup but I suspect that the cause for what you are seeing is based on the above.

You can't change it in Firefox - you would need to change the _target in the application.

Author

Commented:
So how/why does Edge open multiple winsdws?   That's why I thought it was a Firefox setting :)
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
I don't know - I have not seen your code. You have very broadly defined a problem and then adding information as we go.

Here is how you set Firefox to force open links in the same window
1. Type about:config in the Firefox address bar
2. Bypass the security warning
3. Find the browser.link.open_newwindow.restriction preference
4. Double click it to change the value to 0 // Change to 1
5. Find the browser.link.open_newwindow preference
6. Double click it to change the value to 1  // Change to 0

Open in new window


Try that and see if it makes a difference.
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Author

Commented:
Hi,

I'm trying this now.  Step 4 and 6 are confusing which one I change to.  Should line 4 be a 0 or 1?   Should line 6 be a 1 or 0?

Thanks for help!
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
4 => 1
6 => 0
You are reversing the process.

Author

Commented:
Great news!!

I changed 'browser.link.open_newwindow.restriction' to 0
I changed 'browser.link.open_newwindow' to 1

When I do this, after I login to Oracle cloud and click on my desired link, the current tab is replaced.  I lose ability to navigate anywhere else in Oracle cloud at that point.  So on a new tab I open my Oracle cloud bookmark again.  and main window opens on that new tab.  The other tab remains and is functional.  So in my new Oracle cloud tab, I navigate to another link that used to open up a new window.  It then replaces current Oracle cloud tab with it's link but the previous one stays.  At this point I have two tabs open.  Now I just open a 3rd tab again and navigate to my Oracle cloud main link and I can work in three different tabs.  

This works and is fine if I have to do it this way.  Much better than that stupid new window opening up over and over.  So my only question is, when I open up my main link and click on the link, is there a way the new link would just open on a new tab instead of replacing my current tab?  Not that big deal but feel I have to ask.


Sam
2019-02-20_9-10-01.pdf
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
Not that big deal but feel I have to ask.
Other than right click "open in new window" or middle button to open in new window.

Author

Commented:
Links don't do anything when I tray and right click :(

Author

Commented:
This is so much better!! Thank You!!
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
You are welcome.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial