Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for How to work with different browser profiles
AWS Community Builders  profile imageJoris Conijn
Joris Conijn forAWS Community Builders

Posted on • Originally published atbinx.io

     

How to work with different browser profiles

Finicky will help you when you use different browsers, and/or different profiles. As a consultant I often use browser profiles to split my clients. I have a "Binx.io" profile for all Binx related work. For each client I have corresponding profiles. Let's call them "Client A" and "Client B".

Example of the client profiles in Chrome

Browser profiles let you manage bookmarks per profile. So you can keep all your related bookmarks together making them easier to find. The biggest advantage that I love is that the sessions are also separated. This means you can login with different users into theAWS Console. Allowing you to use 2 console sessions at the same time.

How does it work?

First you need to installFinicky. Then you configure your default browser to Finicky.

Example of your default browser configuration

The last thing you need to do is to configure some logic. For this you need to create a~/.finicky.js file. This file contains the logic when to select what browser and profile.

module.exports={defaultBrowser:"Safari",handlers:[{match:/(binx.io|xebia.com)/,browser:{name:"Google Chrome",profile:"Profile 1"}},{match:/(clientA.com)/,browser:{name:"Google Chrome",profile:"Profile 2"}},{match:/(clientB.com)/,browser:{name:"Google Chrome",profile:"Profile 3"}}]};
Enter fullscreen modeExit fullscreen mode

If you look at the code snippet. You will notice that the default browser is set to Safari.

When I click on a link or I open a webpage on my machine. This logic kicks in. If the url matchesbinx.io orxebia.com it will use Chrome andProfile 1. If the url containsclientA.com it will use Chrome andProfile 2.

The profiles mentioned earlierClient A andClient B are the names. Unfortunately, Finicky only works with numbered profiles. So you need to do some testing what profile number is what profile name. But when you figured it out you are good to go!

Conclusion

Finicky gives you the flexibility to choice your browser and profile. All based on logic that you control.

And that combination is really powerful.

Photo byExelsius Adam

Top comments(1)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
jonrandy profile image
Jon Randy 🎖️
🤖 Artisanal developer - coding with varying degrees of success since 1983
  • Location
    Bangkok 🇹🇭
  • Joined
• Edited on• Edited

Or just use Firefox that has had similar functionality built in for years 👍

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Build On!

Would you like to become an AWS Community Builder? Learn more about the program and apply to join when applications are open next.

More fromAWS Community Builders

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp