Precise URL matching in Chrome

For some sites I have multiple logins and when using Chrome or Safari I use the hotkey of command-slash for bringing up 1Password. However on some sites the plugin often uses one of the incorrect logins as a default rather than offer me a choice as it does on other sites.

If I consequently try and use 1Password through the menus I can select from my multiple logins but cannot find a way to turn off this default behaviour. Is there any way to do this at all so that I always get the option to choose from multiple logins for the site?

Comments

  • khadkhad Social Choreographer

    Team Member
    Welcome to the forums, JimmyJetset!

    I'm not sure I understand completely. Please help me understand better. Let's focus on one browser at a time. :-)

    Since you posted in the Chrome forum, let's start there. At the moment, if you have multiple Logins saved for the save domain Chrome will present you with a list in alphabetical order. All of the Logins you have saved for that domain should be listed (except for the ones for which you have set the Display setting to "Never display in browser").

    If I consequently try and use 1Password through the menus…

    Here I can only assume you are talking about Safari 5.0 or another non-Chrome browser since there really isn't a 1Password menu in Chrome (only the key icon in the toolbar).

    My best guess is that you are referring to the precise URL matching feature available in Safari 5.0 and Firefox.

    20110702-1m4s19qena8r9xmp8b6h23242w.jpg

    Precise URL matching is not currently available in Chrome, but to always see a list of all the logins for a domain (rather than having some of them in the "Other Logins" submenu, simply edit the URLs stored to be as "imprecise" as possible. That is to say, if the URLs stored in the Login items are:

    http://www.example.com/loginpage/here.html
    http://www.example.com/loginpage/again/somewhere_else.html
    http://www.example.com/main.html
    http://www.example.com/
    


    Edit all of them to be:

    http://www.example.com/
    http://www.example.com/
    http://www.example.com/
    http://www.example.com/
    


    This will not work in Chrome at the moment, though. The list will always show every Login for the current domain in alphabetical order.

    I hope that helps a bit. Please let me know. The more detail you can provide the better. I'm still not sure what your question was. <img class=" />

    With your help, I'm sure we can get to the bottom of this.
  • Khad,

    Basically, I prefer to use the shortcut (Cmd-/) to call up 1Password in either browser when loggin into a site.

    This will obviously bring up the pop-up window and ask me to type in my master password.

    Now once I have done this, for most sites I will get the option to choose my login from a list.

    But for some sites, and I am not sure why, the login pre-populates and submits with one of the logins itself without offering me a choice (always the same one). I then have to log out of the site and go back through the menus to select a login rather than use the Cmd-/ shortcut.

    Obviously this isn't a huge problem as I have now turned off auto-submit but it can be frustrating.

    I hope this is clearer now and would appreciate any help.
  • khadkhad Social Choreographer

    Team Member
    edited July 2011
    The Chrome extension will autosubmit (without the pop-up window) when there is only a single login saved for the domain. This is the same behavior as in Safari 5.0 and Firefox. If there is only one login, there is no need to ask you which one it should fill. :-)

    Now, if there is a site for which 1Password shows more than one Login item when you click the key icon in the toolbar but does not offer you a choice when using the ⌘\ keyboard shortcut, then that sounds like a bug. Are you able to reproduce this? If so, could you give me three pieces of information?

    1. The URL you are visiting in your browser.
    2. The URL saved in the first login.
    3. The URL(s) saved in the second (and additional) login(s).


    Please let me know. Thanks!
  • Khad,

    Hmmm... embarrassingly I cannot get this to happen again now. Maybe it was fixed when I updated 1Password the other day.

    It was happening on both 1&1 and Wufoo sites for which I have multiple logins... but now I am getting the options rather than it autofilling. So I guess maybe the recent update did fix it. I'll let you know if anything changes.
  • khadkhad Social Choreographer

    Team Member
    I'm glad things are working well! Please let me know if that changes (or even if you just think it does). :-)

    We are always here to help!
  • LosInvalidosLosInvalidos Junior Member
    I want to chime in, since I have a similar question. And maybe that was, what the OP was asking about in the first place?

    I have a login for http://www.ebay.de/ and another login for http://kleinanzeigen.ebay.de/

    When I use my keyboard shortcut in Firefox on one of those sites, 1P manages to choose the correct login (I assume based on the saved url) and does not ask me which login to use. The choice it makes is always correct and I don't have to go through the additional step of choosing the correct login.

    Using Chromium however, on both sites I always get prompted to choose the correct login. So I assume the chromium extension handles logins differently (no news I know). But it would be great if url matching could be advanced somehow.
  • brentybrenty

    Team Member
    We don't actually have separate extensions for different Chrome channels. Officially, we only support the stable channel since the beta and dev channels are so volatile. It seems like Chromium may have some differences when it comes to extension behaviour.

    This is likely one of those things where it will get ironed out in the beta process and once it hits stable it will just work. If not, we will see to it that it does. At this point it is too early to say what changes we may or may not have to make. Only time will tell. :)

    I want to chime in, since I have a similar question. And maybe that was, what the OP was asking about in the first place?

    I have a login for http://www.ebay.de/ and another login for http://kleinanzeigen.ebay.de/

    When I use my keyboard shortcut in Firefox on one of those sites, 1P manages to choose the correct login (I assume based on the saved url) and does not ask me which login to use. The choice it makes is always correct and I don't have to go through the additional step of choosing the correct login.

    Using Chromium however, on both sites I always get prompted to choose the correct login. So I assume the chromium extension handles logins differently (no news I know). But it would be great if url matching could be advanced somehow.
  • bradsmith74bradsmith74 Junior Member
    LosInvalidos- I think your issue might be related to the fact that 1P does not support subdomain matching in the Chrome extension. See:

    http://forum.agile.ws/index.php?/topic/4630-subdomains-and-ports/

    Here's hoping that this is something that can be supported in the future- it's the one thing keeping me from finally using Chrome as my full-time browser.
  • brentybrenty

    Team Member

    LosInvalidos- I think your issue might be related to the fact that 1P does not support subdomain matching in the Chrome extension. See:

    http://forum.agile.w...ains-and-ports/

    Here's hoping that this is something that can be supported in the future- it's the one thing keeping me from finally using Chrome as my full-time browser.


    Hey there, Brad!

    Thanks for adding that. We are still tweaking this and working on things behind the scenes a bit more now. Most of the work has gone into our new Safari 5.1 extension recently, but all of the improvements we are making there should find their way into Chrome and -- eventually -- Firefox as well, until one day they are all equally awesome. I can't wait! :D
  • LosInvalidosLosInvalidos Junior Member
    brenty wrote:

    ... all of the improvements we are making there should find their way into Chrome and -- eventually -- Firefox as well, until one day they are all equally awesome. I can't wait! biggrin.gif


    Me neither. Any update on precise URL matching for chromium?
  • brentybrenty

    Team Member
    We are still refining this behaviour in the new cross-browser engine. In my experience it is much improved over the 'classic' Chrome extension. But don't take my word for it -- it is currently in beta for Chrome as well. Just go to our extensions page and check "Allow beta extensions" on the right and install it in Chrome. If you have the latest version of 1Password you should be good to go. :)
  • LosInvalidosLosInvalidos Junior Member
    Wow. I have to say that lately I do not agree with the suggestions of the 1P team. khad already recommended the beta to me several times. And now you do that as well.

    What happens when I install that beta extension is, that chromium becomes unusable with 1P due to the "agent not found" error.
    Completely broken: http://forum.agilebits.com/index.php?/topic/7065-chromium-1p-381beta-3-not-supported-yet/page__fromsearch__1

    So I don't quite understand how you all +motivate customers to use the beta although that seems not to work.
  • brentybrenty

    Team Member
    I understand completely, but I feel a bit differently about extensions. Since they are sandboxed, bugs can't have an ill effect on the system. In your case, I mentioned the beta Chrome extension as it is based on our latest form filling cross-browser extension code, which is in turn based on our original Chrome extension. Essentially, it is evolutionary. You are free to use the current stable release if you like. I just wanted to be sure you were aware of the option.

    Conversely, I only recommend using the beta of the main 1Password application in situations where there is a specific fix that is needed. We haven't gone to crazytown or anything. ;)
  • LosInvalidosLosInvalidos Junior Member
    Well but you also have not specified that with the new beta chromium is not supported AT ALL. Up until now (http://forum.agilebits.com/index.php?/topic/7065-chromium-1p-381beta-3-not-supported-yet/page__fromsearch__1).

    That is of course an error in my thought process, because I thought Chromium and Chrome were nearly identical when the same version# is used. But as it seems supporting chromium is more work than I thought so now that I understood that the new beta extension does not support chromium at all I will stick to the old extension for the time being.

    And I guess when all those compatibility issues and "agent not working" errors are solved maybe then you can take a look at precise url matching...
  • khadkhad Social Choreographer

    Team Member
    Thanks for understanding, LosInvalidos.

    For other folks interested in knowing, a list of supported browsers is available in the User Guide on the Requirements page. Of course, Chromium will often work just fine, but it is not supported at this time.

    We will also keep working on the domain matching in the new extension. We have had some good feedback from folks on all sides of the issue. Some want stricter matching so fewer logins are offered for a given subdomain. (I think the ideal number is exactly one for most folks in that camp.) At the same time, many folks prefer more relaxed matching because they want to have all their options available to them. We will keep working to best accommodate both use cases.
  • LosInvalidosLosInvalidos Junior Member
    khad, this is a nice page although it could use some more info. Someone in a thread which I can't find right now suggested a page with the latest beta and stable info of 1Password on all desktop variants, plus all browsers extensions (with stable and beta again).

    This overview is needed very much, imo.

    And for chromium: You can write that chromium is fully supported with chrome browser extension [font=Helvetica, sans-serif]3.6.4.30955. I tested every available channel with success. What doesn't work is your new beta of the chrome extension. That does not work with any of the release channels of chromium. So why not add this info?[/font]

    [font=Helvetica, sans-serif]Although http://help.agilebits.com/1Password3/requirements.html is a nice start / draft it could use some refinement and additional info.[/font]
  • khadkhad Social Choreographer

    Team Member
    I don't know that it is helpful to list browsers that aren't supported. There are a lot of browsers our there. :-)

    As stated on the requirements page, only Safari 5.1, Firefox 6, and Chrome are supported in Lion. The additional supported browsers in older versions of OS X are listed there as well.
  • benfdcbenfdc Perspective Giving Member
    Once "precise URL matching" is working reliably, maybe somebody could put up a FAQ, a tutorial, a blog entry, or something along those lines to explain how to make 1Password "play nice" with Google Apps.
  • khadkhad Social Choreographer

    Team Member
    Good idea!
This discussion has been closed.