Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

change profile based on subdomain/path (google.com/voice vs. google.com/mail) #34

Open
studgeek opened this issue Aug 7, 2011 · 8 comments

Comments

@studgeek
Copy link

studgeek commented Aug 7, 2011

For some larger providers like Google it would be great to have the default/last profile remembered based on the subdomain and also sometimes the path. For example, a user might want different default profile for the following google sites:

docs.google.com
mail.google.com
https://www.google.com/calendar
https://www.google.com/voice

Lastpass supports this with their URL Rules - https://lastpass.com/support.php?cmd=showfaq&id=1276&questiondefault=url%20rules.

PS, I really like the model of the new beta. Very slick.

@studgeek
Copy link
Author

studgeek commented Aug 7, 2011

Also see #35 which asks for sort of the opposite - sharing profiles across equivalent domains.

@hultmann
Copy link
Owner

hultmann commented Aug 7, 2011

Note to self: this bug is about setting the default login (different from bug #31).

@studgeek
Copy link
Author

Boy, I sure would like this. I keep posting to google groups with the wrong profile :/. Not sure of the best way to implement it though, but while I am thinking about it I thought I would take some notes.

Using google groups as an example:
http://groups.google.com/group/mozilla.dev.tech.js-engine/topics

Maybe you could use regexp like the following:
^groups.google.com/group/([^/]*)

Which would mean if the URL matches that regexp then use the entire string as the profile name. If no regexps match then the we fallback to using TLD.

This would work for subdomains also:
([^.]*).google.com

Then the user could use profile sets (equivalent domains) on top of this:

extensions.multifox.profileset.bizgroups: groups.google.com/group/mozilla.dev.tech.js-engine,groups.google.com/group/techstuff
extensions.multifox.profileset.fungroups: groups.google.com/group/biking, groups.google.com/group/bars

@verybigelephants
Copy link

man, this is exactly what this extension needs

i am quite new to multifox and already love the extension! i already jumped from multifox1 to multifox 2 because in some support thread i saw that it should support per-tab different accounts. while this doesn't really work and switching an account in a tab changes the account in all the opened tabs with that domain, i still find it more comfortable to use than multifox 1, and hope it will be supported in future

however, this default default loggin feature request is a really cool idea and could partially solve the per-tab problem in some cases too. so if i am on google.com/calendar i would be switched to one account and google.com/drive in other by default, etc

specifically, i my problem is with gmail and youtube. before the two tings got account-merged i used to have both youtube and a gmail account. when the merge happened, i have to log out and relogin as someone else, as i'd like to keep the two accounts separate.

now, when i am logged onto youtube and want to use gmail, i have to open the gmail website, click on the multifox account blue switch thingy and select my gmail account- but then i will get logged off the youtube!

if this great extension had the per-link/domain rules, i could simply set youtube to use one account and gmail to use another and everything would be great. even if a friend of mine links something to me on youtube, i would just be able to click the link and don't bother with relogging/opening the link in another multifox1 profile window/clicking on the multifox2 profile button; firefox would use the appropriate profile predefined in the link/domain rules

@crameth
Copy link

crameth commented Jan 3, 2013

would love to see this as well.

@verybigelephants
Copy link

i am sorry to bother but is there any update on this feature request? i'd love to hear a statement from the developer, i practically created my github account only to lurk and wait for this feature :)

@hultmann
Copy link
Owner

All I can say is that I'll work on it this year. I'm not sure if it is even fixable (because there is a lot of guessing involved in it).

@verybigelephants
Copy link

thanks for the hope! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants