Encoding of "formhistory.dat"

Can someone tell me what encoding is used in the "formhistory.dat" file?

I would like to edit the file and there is no way to do so in FF 1.0.7s 
Tools/Options/Privacy/Saved Form Information" dialog except for deleting 
all the information.

I have yet to figure out what form of encryption is used in the file.
HELP,

-- 
Bill McCartney
Union City, Georgia

E-mail rot 13ed
ovyyzppg@oryyfbhgu.arg
0
Bill
1/12/2006 8:34:10 PM
mozilla.support.firefox 24318 articles. 8 followers. Post Follow

9 Replies
683 Views

Similar Articles

[PageSpeed] 39

_Bill McCartney_ spoke thusly on 12/01/2006 3:34 PM:
> Can someone tell me what encoding is used in the "formhistory.dat" file?
> 
> I would like to edit the file and there is no way to do so in FF 1.0.7s 
> Tools/Options/Privacy/Saved Form Information" dialog except for deleting 
> all the information.
> 
> I have yet to figure out what form of encryption is used in the file.
> HELP,

What you can do is remove individual entries:
http://ilias.ca/blog/2005/08/removing-entered-data.html

Then enter the correct data, which will be saved.
-- 
Chris Ilias - Mozilla Champion
(Please do not email me tech support questions)
Mozilla Help <http://mozillahelp.com>
Netscape 7 Help <http://ilias.ca/netscape/>
0
Chris
1/12/2006 10:36:53 PM
Bill McCartney <user@domain.invalid> wrote in
<news:usidncGKZMesIFveRVn-pw@mozilla.org>:

> Can someone tell me what encoding is used in the "formhistory.dat"
> file?
>
> I would like to edit the file and there is no way to do so in FF
> 1.0.7s Tools/Options/Privacy/Saved Form Information" dialog except
> for deleting all the information.
>
> I have yet to figure out what form of encryption is used in the
> file. HELP,

I don't know what kind of encryption is used, but even if you get past
that, you'e still be dealing with mork, which has a reputation as the
worst database format in recorded history.  ;)

Instead of editing the file directly, maybe an extension can help you.
This one looks promising, but I haven't tried it.

<https://addons.mozilla.org/extensions/moreinfo.php?id=1090>

-- 
�Q�
0
ISO
1/12/2006 11:10:20 PM
On 01/12/06 15:34, Bill McCartney wrote:
> Can someone tell me what encoding is used in the "formhistory.dat" file?
> 
> I would like to edit the file and there is no way to do so in FF 1.0.7s 
> Tools/Options/Privacy/Saved Form Information" dialog except for deleting 
> all the information.
> 
> I have yet to figure out what form of encryption is used in the file.
> HELP,

Edit a Mork file? Hahahahaha!

It uses the Mork database format. Some information is encoded as the raw 
Unicode character IDs, I think. But you don't edit Mork. You look at it 
and cry and wonder why the hell nobody has replaced it yet. (Which will 
be happening in Firefox 3.0, finally.)

Here's the Mork folder in my bookmarks, though I think I should add a 
few other bugs to it:

<URL:http://blakeross.com/index.php?p=168>
<URL:https://bugzilla.mozilla.org/show_bug.cgi?id=241438>
<URL:http://lxr.mozilla.org/mozilla/source/db/mork/>
<URL:http://bjf.id.au/cgi-bin/blosxom.cgi/software/20050429-mork.html>
<URL:http://www.mozilla.org/mailnews/arch/mork/primer.txt>
<URL:http://groups.google.com/group/netscape.public.mozilla.mail-news/browse_frm/thread/676e32c57173577a>
<URL:http://www.erys.org/resume/netscape/mork/mork.html>
<URL:http://www.livejournal.com/users/jwz/312657.html>
<URL:http://www.jwz.org/doc/mailsum.html>
<URL:http://www.mozilla.org/mailnews/arch/mork/grammar.txt>
-- 
Yay!
0
Matt
1/13/2006 4:18:52 PM
Chris Ilias wrote:
> _Bill McCartney_ spoke thusly on 12/01/2006 3:34 PM:
> 
>> Can someone tell me what encoding is used in the "formhistory.dat" file?
>>
>> I would like to edit the file and there is no way to do so in FF 
>> 1.0.7s Tools/Options/Privacy/Saved Form Information" dialog except for 
>> deleting all the information.
>>
>> I have yet to figure out what form of encryption is used in the file.
>> HELP,
> 
> 
> What you can do is remove individual entries:
> http://ilias.ca/blog/2005/08/removing-entered-data.html
> 
> Then enter the correct data, which will be saved.

Thanks for the tip Chris.



-- 
Bill McCartney
Union City, Georgia

E-mail rot 13ed
ovyyzppg@oryyfbhgu.arg
0
Bill
1/14/2006 1:32:27 AM
�Q� wrote:
> Bill McCartney <user@domain.invalid> wrote in
> <news:usidncGKZMesIFveRVn-pw@mozilla.org>:
> 
> 
>>Can someone tell me what encoding is used in the "formhistory.dat"
>>file?
>>
>>I would like to edit the file and there is no way to do so in FF
>>1.0.7s Tools/Options/Privacy/Saved Form Information" dialog except
>>for deleting all the information.
>>
>>I have yet to figure out what form of encryption is used in the
>>file. HELP,
> 
> 
> I don't know what kind of encryption is used, but even if you get past
> that, you'e still be dealing with mork, which has a reputation as the
> worst database format in recorded history.  ;)
> 
> Instead of editing the file directly, maybe an extension can help you.
> This one looks promising, but I haven't tried it.
> 
> <https://addons.mozilla.org/extensions/moreinfo.php?id=1090>
> 

This one look pretty good to me.
Thanks,


-- 
Bill McCartney
Union City, Georgia

E-mail rot 13ed
ovyyzppg@oryyfbhgu.arg
0
Bill
1/14/2006 1:33:12 AM
Matt Nordhoff wrote:
> On 01/12/06 15:34, Bill McCartney wrote:
> 
>> Can someone tell me what encoding is used in the "formhistory.dat" file?
>>
>> I would like to edit the file and there is no way to do so in FF 
>> 1.0.7s Tools/Options/Privacy/Saved Form Information" dialog except for 
>> deleting all the information.
>>
>> I have yet to figure out what form of encryption is used in the file.
>> HELP,
> 
> 
> Edit a Mork file? Hahahahaha!
> 
> It uses the Mork database format. Some information is encoded as the raw 
> Unicode character IDs, I think. But you don't edit Mork. You look at it 
> and cry and wonder why the hell nobody has replaced it yet. (Which will 
> be happening in Firefox 3.0, finally.)
> 
> Here's the Mork folder in my bookmarks, though I think I should add a 
> few other bugs to it:
> 
> <URL:http://blakeross.com/index.php?p=168>
> <URL:https://bugzilla.mozilla.org/show_bug.cgi?id=241438>
> <URL:http://lxr.mozilla.org/mozilla/source/db/mork/>
> <URL:http://bjf.id.au/cgi-bin/blosxom.cgi/software/20050429-mork.html>
> <URL:http://www.mozilla.org/mailnews/arch/mork/primer.txt>
> <URL:http://groups.google.com/group/netscape.public.mozilla.mail-news/browse_frm/thread/676e32c57173577a> 
> 
> <URL:http://www.erys.org/resume/netscape/mork/mork.html>
> <URL:http://www.livejournal.com/users/jwz/312657.html>
> <URL:http://www.jwz.org/doc/mailsum.html>
> <URL:http://www.mozilla.org/mailnews/arch/mork/grammar.txt>

Thanks for the links Matt.
I have run into Mork formatting before and after several days of 
searches on the subject, I simply decided it wasn't worth the trouble. I 
was at that time also trying to decipher a Mork formated file in some 
program that I can't even remember now. Good to hear that the developers 
  are going to replace this with some other type of format. Hopefully 
something editable.
Thanks,

-- 
Bill McCartney
Union City, Georgia

E-mail rot 13ed
ovyyzppg@oryyfbhgu.arg
0
Bill
1/14/2006 1:42:56 AM
On 01/13/06 20:42, Bill McCartney wrote:
> Thanks for the links Matt.
> I have run into Mork formatting before and after several days of 
> searches on the subject, I simply decided it wasn't worth the trouble. I 
> was at that time also trying to decipher a Mork formated file in some 
> program that I can't even remember now. Good to hear that the developers 
>  are going to replace this with some other type of format. Hopefully 
> something editable.
> Thanks,

They're going to replace it with "mozStorage", which is based on the 
SQLite SQL database software. You can't directly edit the files with a 
text editor, but you can use SQLite's command line program. I'm not sure 
about doing it on Windows.

See <URL:http://wiki.mozilla.org/Mozilla2:Unified_Storage>.

One thing that bothers me is that the Mozilla folks are planning on 
adding features to SQLite, so until they're supported upstream, will I 
have to patch and compile my own copy of SQLite to work with mozStorage? 
It would be nice if the Mozilla software came with a mozstorage 
executable that could be used.
-- 
Yay!
0
Matt
1/14/2006 2:09:48 AM
Matt Nordhoff wrote:
> On 01/13/06 20:42, Bill McCartney wrote:
> 
>> Thanks for the links Matt.
>> I have run into Mork formatting before and after several days of 
>> searches on the subject, I simply decided it wasn't worth the trouble. 
>> I was at that time also trying to decipher a Mork formated file in 
>> some program that I can't even remember now. Good to hear that the 
>> developers  are going to replace this with some other type of format. 
>> Hopefully something editable.
>> Thanks,
> 
> 
> They're going to replace it with "mozStorage", which is based on the 
> SQLite SQL database software. You can't directly edit the files with a 
> text editor, but you can use SQLite's command line program. I'm not sure 
> about doing it on Windows.
> 
> See <URL:http://wiki.mozilla.org/Mozilla2:Unified_Storage>.
> 
> One thing that bothers me is that the Mozilla folks are planning on 
> adding features to SQLite, so until they're supported upstream, will I 
> have to patch and compile my own copy of SQLite to work with mozStorage? 
> It would be nice if the Mozilla software came with a mozstorage 
> executable that could be used.

 From the links you provided I have been reading on the SQLite and SQL 
DataBase formats. Having only used a computer for a few years now, I am 
learning quite a lot here in a short time. At my age (don't ask) my life 
is still a learning experience.





-- 
Bill McCartney
Union City, Georgia

E-mail rot 13ed
ovyyzppg@oryyfbhgu.arg
0
Bill
1/14/2006 4:17:29 AM
On 01/13/06 23:17, Bill McCartney wrote:
>  From the links you provided I have been reading on the SQLite and SQL 
> DataBase formats. Having only used a computer for a few years now, I am 
> learning quite a lot here in a short time. At my age (don't ask) my life 
> is still a learning experience.

Well, that sounds good. :-)

Hmm. I should read more about mozStorage and SQLite and SQL, too. I 
really don't know that much about them.
-- 
Yay!
0
Matt
1/14/2006 5:12:10 AM
Reply: