Providing hints for 1Password browser extensions

As a web developer, it would be very useful to be able to provide more details about your website (e.g. custom icon, change it's name) to 1Password. It could be used by all sorts of password managers and would help when the automatically suggested data doesn't cut it (e.g. your web site is sock.shop, which would be saved as 'Sock', but you most likely remember it as 'SockShop').

I'd like to know if there's anything like this available, and if not, if this could be something that you could consider for future releases/1Password X.

Thanks,

Jeroen


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided

Comments

  • AGAlumB
    AGAlumB
    1Password Alumni

    @jeroenvisser101: Thanks for reaching out! The autocomplete attribute is your friend when it comes to filling, but as a general rule designing for accessibility helps not only 1Password but users themselves. In that spirit, we have some more specific info on designing compatible websites on our site as well. In your example though, 1Password would save https://sock.shop as the URL and use the title you set for the page as the title of the login by default. Does that help?

  • jeroenvisser101
    jeroenvisser101
    Community Member

    Hey @brenty! Thanks for taking the time to respond. This specific example was a Vue.js page that sets the title dynamically, could it be that that's not being picked up? I'm going to check it again now, because the response never contains 'Sock' as title. Will update when I know more!

  • AGAlumB
    AGAlumB
    1Password Alumni
    edited February 2018

    Ah, gotcha. You're welcome! I thought that was just a "for instance". Definitely let us know. It may be that 1Password could stand to improve in this area as well. :)

  • jxpx777
    jxpx777
    1Password Alumni

    @jeroenvisser101 In your first post, you mentioned 1Password X. Does 1Password save the Login title differently if you're using the desktop app and extension instead? In this extension, 1Password looks at the pieces of the URL (separated by .) to see if those parts show up in the title. Right now, it's just one piece at a time. In your example, this is why a <title>SockShop</title> and URL of https://sock.shop generates a title of "Sock" rather than "SockShop". We do have some hints that a page can give to the extension, but a) these are currently undocumented, and b) I am not 100% sure this has been ported to 1Password X yet, since it is such a young project.

    --
    Jamie Phelps
    Code Wrangler @ AgileBits
    Fort Worth, Texas

  • jeroenvisser101
    jeroenvisser101
    Community Member

    @jxpx777 I'm not entirely sure, I'm not a 1Password X user (yet). It does however do exactly as you describe, and save as 'Sock'. You don't by any chance support the W3C spec for credential management? (https://www.w3.org/TR/credential-management-1/, specifically the name: https://www.w3.org/TR/credential-management-1/#dom-credentialuserdata-name) It would be really great if that could somehow be supported with 1Password.

  • jxpx777
    jxpx777
    1Password Alumni
    edited February 2018

    We don't right now, but that looks really interesting! Thanks for sharing! Edit: Looks like this is still very experimental: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/credentials

  • jeroenvisser101
    jeroenvisser101
    Community Member

    @jxpx777 yes, very experimental, but already out there in the wild in AliExpress's login form. Anyway, given that it's an official spec it's only bound to get more popular, and would allow 1Password to function the same on the web as it currently functions on iOS (with the 'Sign in with 1Password' functionality).

  • AGAlumB
    AGAlumB
    1Password Alumni

    Cool! Thanks for sharing this! :)

This discussion has been closed.