0

I'm using a tool called Ice that creates special Firefox profiles for web apps (like Twitter or WhatsApp) to have them run in Firefox windows resembling Firefox' former site-specific browser feature.

Now when I click links in those web apps running in special Firefox profiles, they open as a new tab in the web app window (where the tabs are invisible) - so I would like to have all links open in my default browser (or the default profile of Firefox for that matter) instead.

There is an about:config option named browser.link.open_newwindow which supports the following values according to mozillaZine:

  • 1: Open links, that would normally open in a new window, in the current tab/window.
  • 2: Open links, that would normally open in a new window, in a new window.
  • 3: Open links, that would normally open in a new window, in a new tab in the current window.

Ideally, there would be an option to open those links using the system's default (like using xdg-open on Linux), which would open the link using my default browser / Firefox' default profile.

Is there some config item that I'm missing - or an add-on for Firefox that does just that (letting the system handle opening the link)? Does anyone have another idea?

Edit:@harrymc linked me this question (thanks!): Open Link in different Profile in Firefox (they asked for pretty much the same thing, so my question is a duplicate). The answer was to use an extension named Open With - and it's almost what I need! Now I can right-click any page or link to open it with another browser (or profile) - but it doesn't automatically open all links with that – Problem not fully solved.

Dave M
  • 13,138
  • 25
  • 36
  • 47
sk22
  • 101
  • 2
  • Are these special browser windows running using Firefox or in some third-party browser? – harrymc Apr 28 '21 at 19:39
  • yes, they're using firefox, but in a separate profile, launched using `firefox --profile /home/sk22/.local/share/ice/firefox/twitter --no-remote https://twitter.com` – sk22 Apr 28 '21 at 20:18
  • @harrymc almost! it doesn't automatically open links in a different browser, but it at least allows me to manually do that. thanks! – sk22 Apr 29 '21 at 11:22
  • Have you considered using Firefox containers instead? I'm not sure how complicated implementing this would be, but for example the Facebook Container does exactly this to isolate Facebook-related stuff. – gronostaj Apr 29 '21 at 11:40
  • yeah no, i need a custom userChrome.css :/ but thanks for the idea! @gronostaj – sk22 May 03 '21 at 16:05

0 Answers0