U-C-S / Hurl

Choose the browser on the click of a link
MIT License
279 stars 10 forks source link

Suggestion: ability to set certain browsers to only appear with certain rules (URIs/protocols/domains), like Android #111

Open sjain882 opened 6 months ago

sjain882 commented 6 months ago

According to this proposal, if I open any normal link, I would see the following example browsers:

Chrome, Edge, Firefox

If I open a rule-matching link (like https://steamcommunity.com/sharedfiles/filedetails/?id=1644959932), I would see the following browsers:

Chrome, Edge, Firefox, Steam

This way, I can choose whether I want to open this Steam link in my browser (e.g, if I want to use a Chrome extension's feature for the Steam website), or if I want to open it in my Steam client (e.g, to subscribe to the item since I am already logged in there)

This is not the only use case for this type of feature. For example, I can choose whether to open a Discord link in my client (main account), or the Edge browser (university account).

This means that I don't have to see a browser/icon I rarely use (clutter) every time I use Hurl.

However, It also means that I when I do need that browser/icon, I have the option easily available, rather than having to painstakingly type it into the Run box.

This is how Android does things (app URL associations), and it's perfect UX in my opinion.

(To note, I did try using the recently released rulesets feature to replicate this behaviour, and tested the match, but nothing seems to actually happen when I click a rule-matching link, so I'm not sure what the feature does exactly / it's not working for me)