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
This is something that I am using (it's particular to firefox, chromium based browsers encrypt their cookies on disk):
Just thought I would share!