Skip to content

Set Cookies Automatically from Firefox Cookie store #48

@dmadisetti

Description

@dmadisetti

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions