[elinks-users] Elinks cookie file format

Witold Filipczyk witekfl at poczta.onet.pl
Wed Oct 17 10:14:07 PDT 2007


On Fri, Oct 05, 2007 at 12:39:02PM +0200, Matej Kopal wrote:
> Hi,
> I start using Elinks web browser and everything was fine until I start
> using a cookies. I import Mozilla (Firefox) cookie file. I mean I copy
> Firefox cookie file into home directory of Elinks ( ~/.elinks/cookies
> ). But it looks like Elinks and Firefox has different cookies file
> format.
> 
> So I browse a web and I found perl script
> (http://www.cryptosystem.org/archives/2006/04/converting-netscape-cookies-files/
> ) which should convert Netscape cookies into Elinks cookies, but it
> was not working for me. May be I am doing something wrong, but I have
> no clue how Elinks format should look.
> 
> So can you help me with this cookies conversion problem or just
> forward me on right way.

ELinks format:
NAME\tVALUE\tSERVER\tPATH\tDOMAIN\tEXPIRES\tSECURE\n

\t is a tabulator
\n is a newline
EXPIRES is the number of seconds since 1970-01-01 00:00:00 UTC.
SECURE is 0 for http and 1 for https.
-- 
Witek



More information about the elinks-users mailing list