Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie instructions are unclear #38

Open
NickHu opened this issue May 11, 2021 · 1 comment
Open

Cookie instructions are unclear #38

NickHu opened this issue May 11, 2021 · 1 comment

Comments

@NickHu
Copy link

NickHu commented May 11, 2021

It took me a while to realise that the input when you set username to 'cookies' is expecting:

overleaf_session2=s%REDACTED (url encoded)

Perhaps the README could be updated with better instructions

@llinfeng
Copy link

@NickHu Thanks for your pointer. It took me awhile to figure out how to make use of your clarification. The following one-liner in init.vim file got me logged in properly.

let g:AirLatexUsername="cookies:overleaf_session2=<long-long-string>"

And, where to get the cookie?

From Chrome, one can fetch the <long-long-string> as the following:
image

In Firefox, the cookies is under the Storage tab in the "Web Developer Tools", which can be summoned by pressing the F12 key.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants