How to prevent links from opening in new windows

I have this issue that some links open up automatically in new windows and not in new tabs. I would like to prevent this because forgetting that you have a small open window somewhere while closing your main window will get your session deleted. So every time I have a small link window open somewhere I loose all the tabs I have open, no matter what.

How can this issue be reproduced?

  1. Have many tabs open and open a link that automatically creates a new window.
  2. Close brave.
  3. Reopen brave: all tabs gone but the site of the new window.

Expected result:
All links open in tabs no matter what.

Brave Version( check About Brave):

Additional Information:

1 Like

First, just to make sure you’re aware, you should always be able to recover your session by launching the browser and going to Menu --> History and selecting the option that has the number of tabs that you just had open (in the example below, there were two sessions with 15 tabs per window open):

The default behavior of the browser should be to open links in new tabs. I believe that the reason you are seeing this on some sites (this is common for authentication, for example) is due to the site launching this using in Javascript. As far as I know, there is no way to block this behavior natively in the browser.

That said, I am curious if you can share some examples of sites where you see these windows appear?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.