Browsers-software / browsers

Open the right browser at the right time
https://browsers.software
Apache License 2.0
111 stars 11 forks source link

Support Container Tabs for Zen Browser (Firefox fork) #218

Closed grizzogor closed 3 months ago

grizzogor commented 3 months ago

Is your feature request related to a problem? Please describe. I've started to switch over from Firefox to Zen Browser (https://zen-browser.app/), which is an alternative Firefox fork that's similar to Arc. I've used Container Tabs in Firefox to keep browsing data separate for personal, schoolwork, and work-related uses, which Browsers does support with the use of the "Open external links in a container" add-on. While Browsers does have basic support for Zen Browser, it does not have support for Container Tabs. Links opened in Zen Browser open in the default "No Container" tab type.

Describe the solution you'd like Add support for Container Tabs (like Firefox has) for Zen Browser.

liias commented 3 months ago

Hi @grizzogor

Could you try adding its metadata and see if it works?

In Zen Browser go to about:profiles in the web url entry and look for "Root Directory". Then copy the <config_dir_relative> part from /Users/xyz/Library/Application Support/<config_dir_relative>/Profiles/...

If you use macOS, you could go to Applications in Finder, right click on Browsers and choose Show Package Contents. Then go to Contents->Resources->repository In that directory edit application-repository.toml and add this section:

[[apps]]
id = "org.mozilla.com.zen.browser"
config_dir_relative = "<config-dir-relative>" # <-- add this from previous step
kind = "FIREFOX"
os = "MAC"

Save the config file and then restart Browsers and Refresh the list in there (from the 3-dot menu).

If you are using it on another OS than macOS, read the top of the config file and see if you can figure out the id and config_dir_relative (and set os to WINDOWS or LINUX)

grizzogor commented 3 months ago

Yep, that works great. The config_dir_relative in my case is zen. Thanks!