CookieProfileSwitcher icon indicating copy to clipboard operation
CookieProfileSwitcher copied to clipboard

Use native API for domain lookup

Open dkniffin opened this issue 2 years ago • 2 comments

This fixes an issue where localhost (or localhost:3000) is not looked up properly, and so there'd be a separate profile for each page of the site.

dkniffin avatar Mar 25 '22 14:03 dkniffin

It looks like there's another issue somewhere though, because the cookie is not being updated appropriately when I switch between profiles

dkniffin avatar Mar 25 '22 14:03 dkniffin

Finally got around to looking at this again! It looks like I needed .hostname, not .host, because .host includes the port, and cookie domains don't include the port

dkniffin avatar Sep 15 '22 13:09 dkniffin