Strongbox icon indicating copy to clipboard operation
Strongbox copied to clipboard

MacOS auto fill extension - choose url type to match

Open georgesnow opened this issue 4 years ago • 3 comments

I noticed that strongbox matches on just host. I didn't see an option to modify this. But I have subdomain sites that show up rather then the more strict match. Example:

SiteA.here.com

I have 10 entries that have: Here.com

In their url

But only one that has SiteA in the url for the subdomain.

Is there way to either per db, per site, and or per entry to pick the url type matching ?

georgesnow avatar May 10 '21 15:05 georgesnow

I think this isn't possible I'm afraid, it looks like Apple's matching logic just looks at the domain. I'm not sure why it doesn't seem to prioritise the subdomains.

strongbox-mark avatar May 10 '21 16:05 strongbox-mark

Bummer. I can’t figure out how it prioritizes if any. Cause the subdomain match is almost always in the middle, but has note (this site) on it.

georgesnow avatar May 10 '21 16:05 georgesnow

I'm having the same issue. Is this something that can be fixed by Strongbox or is it just the Apple Autofill feature that works like that?

ccolic avatar Jun 23 '22 15:06 ccolic

I have this issue as well - specifically, with work domains. We have many different sub-domains, but most of them use a Single-Sign-On account. I currently see 10 listings when I go to work sites, and unfortunately the SSO login credential is at the bottom of the list. If it isn't possible to prioritize entries for specific subdomains, it would be nice to specify a preferred ordering to bring the SSO to the top of the list.

jcausey-astate avatar Jan 06 '23 15:01 jcausey-astate

You can use the "Favourite" functionality which should bring a preferred entry to the top of the suggestions list.

strongbox-mark avatar Jan 07 '23 07:01 strongbox-mark

You can use the "Favourite" functionality which should bring a preferred entry to the top of the suggestions list.

Good suggestion! It fixes the main issue with the SSO appearing at the bottom of the list. Thank you!
It would still be nice to do more precise matching for subdomains that don't rely on the SSO, but it gets me 90% of the way there.

jcausey-astate avatar Jan 07 '23 22:01 jcausey-astate

@strongbox-mark Would it be possible to make subdomain match for the Browser extension of Firefox/Chrome?

daletman avatar Jan 14 '23 10:01 daletman

This should work for you already @daletman - Could you describe the setup that's not working or what you mean by subdomain match?

strongbox-mark avatar Jan 14 '23 13:01 strongbox-mark

I have multiple entries in my DB which have the same domain but different subdomain, like:

a.abc.de b.abc.de d.abc.de

When I go to a.abc.de the Strongbox extension lists under URL Matches all entries (a.abc.de, b.abc.de, d.abc.de).

I'm using Firefox with Strongbox extension version 1.0.2

daletman avatar Jan 14 '23 13:01 daletman

@daletman How many matching entries do you have? I stumbled upon the same issue. I noticed that Chrome entries are limited to 42 entries. Everything above 43 entries will lead to the Loading... message. I don't know about Firefox. Did you check with Safari AutoFill?

howdytom avatar Jan 14 '23 13:01 howdytom

@howdytom I have 8 entries in one DB and two other in a second DB which have this domain.

Total entries are 258 for the first DB and the second DB has 10 total entries.

daletman avatar Jan 14 '23 13:01 daletman

@daletman - I see, ok, so you would want a strict match there. I believe, and correct me if I'm wrong, that the exact match should rank first in the list of matches?

strongbox-mark avatar Jan 15 '23 09:01 strongbox-mark

@strongbox-mark That would be preferreble, yes.

But my main issue is not the List of Matches but the fact that the option "Fill on Load if Only Single Match Found" does rely on the same filter as the list, which means if there is more than one match in the List the auto fill will not be triggered. So the most important thing for me would be that "Fill on Load if Only Single Match Found" does use a very strict match.

daletman avatar Jan 15 '23 12:01 daletman

OK, would a separate feature: "Fill on single exact URL match" solve your problem?

Also, are you aware of the Cmd+Shift+L shortcut which should fill using the first match, it may help here too.

strongbox-mark avatar Jan 15 '23 16:01 strongbox-mark

I really love the auto fill feature so I would prefer an exact URL match auto fill. Either as a seperate option or in the current one.

No, I wasn't aware of the Cmd+Shift+L shortcut. Thanks for the tip.

daletman avatar Jan 15 '23 23:01 daletman

@daletman - So a feature like "Fill on single exact URL match" solve your problem?

strongbox-mark avatar Jan 17 '23 11:01 strongbox-mark

Yes

daletman avatar Jan 17 '23 11:01 daletman

In KeePass on Windows autotype can be disabled per entry and also wildcards in urls and several urls per entry can be used. I think it’s basically an „always exact“ match that can be adjusted with wildcards to match a wider criteria like a domain only.

this approach could help solve the fill on single match request and also help users across the board fine tune the auto type behaviour.

sorry for the late reply to this issue. I have been reading along for a while and meant to add my idea earlier 😄

dan-el avatar Jan 17 '23 12:01 dan-el

Hi @georgesnow - I think/hope the sorting algorithm for subdomains/hosts is better in 1.58.10/11, would be interested to hear what you think or what's not working/working.

strongbox-mark avatar Mar 11 '23 10:03 strongbox-mark

It works great so far

daletman avatar Mar 11 '23 12:03 daletman

I think this issue has become less pressing or stale, especially with the ability now to exclude individual entries from AutoFill (see #703 )... Please raise fresh issues for any remaining improvements.

strongbox-mark avatar Jul 25 '23 10:07 strongbox-mark