contain-google icon indicating copy to clipboard operation
contain-google copied to clipboard

Feature: Open in new tab

Open lilypure604 opened this issue 5 years ago • 6 comments

So I use Facebook container and Google container and it's definitely more of a problem with Google, as I don't follow links to Facebook as often as Google services. But the issue is, when I follow a Google link, my current tab is overwritten, with no page back history. I'm finding it annoying looking in my history for the previous site I was on, specially if it wasn't loaded recently.

So I'd just like a feature here to open the links in a new tab, so my current tab doesn't get eaten.

lilypure604 avatar Dec 07 '19 11:12 lilypure604

I see that behaviour as well. New tab would be better indeed.

woutervanwijk avatar Mar 04 '20 10:03 woutervanwijk

It seems when the extension opens a Google container, it pops it into a new tab and immediately closes the current tab.

As a quick fix, you can undo close tab either via ctrl/cmd+shift+tab or right-clicking in the tab bar and selecting Undo Close Tab.

It's definitely more annoying than if the extension just opened a new tab (or maintained a functioning back button), but at least the tab can be recovered.

dumb avatar Oct 21 '20 18:10 dumb

As the extension opens a new container, history cannot by saved. If it could do it, Google can check as well so even it's annoying, I accept the deal in my day-routine ;)

situplastik avatar Mar 03 '21 17:03 situplastik

As the extension opens a new container, history cannot by saved. If it could do it, Google can check as well so even it's annoying, I accept the deal in my day-routine ;)

How can Google track the history of another tab? This issue is not about changing the fact that clicking a link opens a new tab. It's about changing the fact that the old one gets closed.

This is something I absolutely hate about this extension, because there's absolutely no need for closing the old tab. It happens unexpectedly and breaks your workflow. Normally, there is one of 2 ways to go back after you clicked a link: Clicking the back button if the link opened in the same tab, or closing the tab because a new one got opened. This extensions leaves none of them.

janopae avatar Apr 13 '21 10:04 janopae

For what it's worth, deleting lines 268-270 in background.js prevents the extension from destroying the originating tab.

  if (!(isSearchPageURL(tab.url))) {
    browser.tabs.remove(tab.id);
  }

This is by no means a solution to the issue, and causes other problems (manually opening a Google link in a new tab will create two new tabs), but I thought I'd share for anyone looking for a temporary fix.

dumb avatar Apr 13 '21 15:04 dumb

I would be a nice feature for the setting pages. "Open /search links in a new tab".

If you search something with Google and just left-click as you are used to do, there is no way back to the search results. If a new tab will be opened for external links the issue should be gone.

d0m84 avatar Jan 27 '22 22:01 d0m84