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

Set Cookies Automatically from Firefox Cookie store #48

Open
dmadisetti opened this issue May 5, 2023 · 0 comments
Open

Set Cookies Automatically from Firefox Cookie store #48

dmadisetti opened this issue May 5, 2023 · 0 comments

Comments

@dmadisetti
Copy link

This is something that I am using (it's particular to firefox, chromium based browsers encrypt their cookies on disk):

let g:AirLatexCookieDB="/home/dylan/.mozilla/firefox/*.default/cookies.sqlite"                                                                                                                                                                
let g:AirLatexSecret = trim(system("sqlite3 " . g:AirLatexCookieDB . " 'select value from main.moz_cookies where name=\"overleaf_session2\" and host=\".overleaf.com\";'"))                                                                   
let g:AirLatexLB = trim(system("sqlite3 " . g:AirLatexCookieDB . " 'select value from main.moz_cookies where name=\"GCLB\" and host=\".overleaf.com\";'"))                                                                                    
let g:AirLatexUsername = "cookies:GCLB=" . g:AirLatexLB . ";overleaf_session2=" . g:AirLatexSecret

Just thought I would share!

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

1 participant