cassidyjames / ephemeral

A private-by-default, always-incognito browser for elementary OS
https://cassidyjames.com
GNU General Public License v3.0
154 stars 22 forks source link

Add a way for certain domains to always open in an external browser #273

Closed cassidyjames closed 3 years ago

cassidyjames commented 3 years ago

Similar to #180, but for domains. For example, I might always want GitHub and Twitter links to open in my "real" browser where I'm signed in, but all other links should open in Ephemeral.

Design-wise, I could add an "Always Open This Site Externally" checkbox to the BrowserButton's popover. Note, manually navigating to a site should not trigger this behavior, e.g. if I have github.com in the external list, me typing github.com in the UrlEntry should still open it in Ephemeral, not an external browser. Similarly, navigating on the same domain should not trigger this, e.g. if I'm on github.com and click a link that keeps me on github.com, it should continue opening in Ephemeral. However, if I'm on cassidyjames.com and click a link to github.com, it should open in a new window.

Closing the existing window should follow the existing "Always Close When Opening Externally" setting.