I have a rails 3 app that creates a sessions with:
cookies.permanent.signed[:remember_token] = [user.id, user.salt]
How can my chrome extension check whether the user has signed in and then retrieve the current user id so that the extension is being used with the appropriate account?
Thanks for your help!
Take a look at
chrome.cookies.*API, it allows reading cookies from specified domains.