int-ua / openbydomain

Dispatch URLs into different apps by domain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to configure parameters of browser(flags)

ddemydenko opened this issue · comments

Could you add possibility to configure browser flags within csv file. LIke so

Domain,Executable
github.com,/opt/google/chrome/google-chrome --class=my-profile '--profile-directory=Profile 1' --user-data-dir=~/.config/google-chrome-custom

In order to achieve this I've changed exec string from
subprocess.Popen([executable, sys.argv[1]]) to os.system(executable + ' ' + sys.argv[1])
and successfully run custom chrome account.