buttercup / buttercup-browser-extension

:earth_asia: Buttercup browser extension
https://buttercup.pw
MIT License
228 stars 42 forks source link

suggestion: select entry comparing the entry's name with the domain #351

Open julianpoemp opened 4 years ago

julianpoemp commented 4 years ago

Situation:

I rather use the desktop client if it's about creating new passwords (because of the missing password generator). When I create new entries I never add the optional field "URL" with the URL to a login page. Because of my laziness I always have to search for the appropriate entry.

Suggestion

It would be very nice if the popup window would act like that:

  1. The user clicks on the buttercup icon.
  2. The plugin searches for an entry, that does have an URL matching with the website. If it finds nothing, it compares the entry's name with the name of the domain. If the domain contains the name, it's a match. Example: name of entry: "Apple", domain: www.apple.com => match
  3. The match is visible in the list.

This is a kind of alternative matching if no entry was found before.

Advantages

That way it would be easier to find entries that do not have any URL field.

perry-mitchell commented 4 years ago

I like this idea! The issue is this: I don't want to add domain extraction functionality to buttercup. Domain extraction is the process of getting "apple" from "www.apple.com". To do this, a full list of all GTLDs is required, which is large. I don't want to include this in the codebase as it'll just bloat the application.

So with that being said, I'd like to consider how we'd achieve this functionality without the domain portion. Would taking something from the title of the website work?

julianpoemp commented 4 years ago

@perry-mitchell thanks for your fast response! :)

So with that being said, I'd like to consider how we'd achieve this functionality without the domain portion. Would taking something from the title of the website work?

Yes, of course! 👍