@BoneTone Right now it will create duplicates of the "always open" pages. I did it that way because it seemed safer, but I could probably do that.
Looking at chrome.tabs, there is a move method, so I could move already existing tabs if they match.
Also, right now, the tabs are added to the end of the list. I haven't played around with it yet, but the create method has an index parameter, so puting the tabs at the top of the list could also probably be done.
There would then probably be 2 new config variables:
IS_MOVE_PREEXISTING_PAGES w/ value of true or false IS_TAB_CREATED_AT_END w/ values of true or falseĀ
Do you want me to try and make these changes?
Also, a session with multiple windows opening at startup might create a race condition or prevent both windows from opening the pages when IS_ONLY_OPENED_ON_INITIAL_WINDOW is set to true. I will look into that...