aloneguid / bt

Browser Tamer
https://aloneguid.github.io/bt/
Apache License 2.0
134 stars 6 forks source link

Mode: Ask if no rule applies #40

Open mahoromax opened 10 months ago

mahoromax commented 10 months ago

Hi, I believe this is easy to adapt and it really would fit the "learning" behaviour of it.

-> URL that doesn't fit any rule? -> Ask and add rule -> URL that should always be asked -> Ask and do not add a rule

aloneguid commented 10 months ago

I assume you have tried this and it doesn't work for you?

image

I like the idea of adding rules that must always trigger the picker!

mahoromax commented 9 months ago

Yes, when there is no conflict or no rule it just opens the default browser... And I'm not sure how to make rules that apply to everything - except stuff already handled by other rules...

adynis commented 7 months ago

I also would like to have an option that shows the "Picker" by default (when no rule apply) , and the selecgted browser when one rule matches. It's not very clear to me what "Conflict" means on "Ask on Conflict" , but I would see very usefull an additional option there like: "Ask when no rule"

aloneguid commented 7 months ago

I appreciate your feedback, it's very helpful. I agree that "ask on conflict" is not a clear or common option - it only pops up a dialog when there are multiple browsers/profiles that can open a certain URL. I think you're right that I should add another option like you suggested - "Ask when no rule matched". That would make it easier for users to choose the browser/profile they want when there is no rule defined. How does that sound?

Mythrix commented 4 months ago

I would also like an option like "Ask when no rule matched" in any case.

I used to use BrowserSelect which worked like that: Pop up the option to select a browser for all URLs, but if a rule is found, it will autopick the browser. (I switched away from that tool because it tended to add duplicate copies of each browser in the list when refreshing browsers, which got annoying after it happened a few times.)

Although now I decided to try using the "Also open on" feature in combination with "Ask on conflict" in BrowserTamer. Which does kinda solve my use case, as long as I remember to hold down the keyboard shortcut when clicking on links.

Mythrix commented 3 weeks ago

PS: I almost never remembered to hold down the shortcut keys when clicking on links. Additionally, holding down the keys would mess with some apps (specifically Outlook tends to act weirdly when I hold down certain keys and try to click.) So that did not really work out at all...

In the end I tried out other alternatives, but many did not support browser profiles well. Eventually I got to Switchbar which supports both "Ask if no rule applies" and browsers with multiple profiles. So other people with the same issue could consider trying that option. Do note that Switchbar has a free and a paid version, and the free version only supports 2 "favorite" browsers/profiles (but for me that was enough, for now at least.)

In any case, it would be great if BT could also get the option to show the picker only when no rules are matching.

aloneguid commented 3 weeks ago

If everyone paid £16 like Switchbar asks I think I could probably find time to implement this very quickly :) On a serious note yes, this is planned, but I don't know when as I'm busy implementing other features. It should be withing next few months though.

P.S. This app is opensource, so anyone can try doing it themselves.

aloneguid commented 2 weeks ago

This will be coming in v4, something like this:

aloneguid commented 4 days ago

done

Mythrix commented 3 days ago

Hi, thanks for your hard work!

Unfortunately I was unable to get the "On no rule" option to work properly. In fact, it is possible that even the "On conflict" option does not work anymore in v4.

I have tried:

This is on a Windows 10 22H2 PC.

Do not worry about prioritizing this bug in any case, I can understand that it's hard to take time for an opensource hobby project. And I hope it's not just me doing something wrong in my settings/usage...

aloneguid commented 1 day ago

Yes you're right, that slipped in. Hope to fix this today!

Mythrix commented 21 hours ago

Thanks for the quick fix! I tested a little bit now, and both "On no rule" and "On conflict" seems to work properly now. And the integration with Firefox containers also seem to work great when using the rules! 👍