The lz4 compression layer for bookmarks and session is additional purpose-less garbage nobody asked for.
It adds additional bulk when trying to recover sessions.
Now, why does it need lz4? Why can Firefox not just store it in plain text to make life easier when recovering the session?
I need help comprehending the purpose of lz4.
Why does Firefox lz4 bookmarks and sessions?
- Grumpus
- Posts: 13246
- Joined: October 19th, 2007, 4:23 am
- Location: ... Da' Swamp
Re: Why does Firefox lz4 bookmarks and sessions?
Maybe this link will help - Export Bookmarks
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
- therube
- Posts: 21714
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: Why does Firefox lz4 bookmarks and sessions?
lz4 is faster, they might say.
lz4 is smaller, they might say.
And that said, i don't think they can come up with a rational reason .
lz4 is smaller, they might say.
And that said, i don't think they can come up with a rational reason .
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
- jscher2000
- Posts: 11771
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Why does Firefox lz4 bookmarks and sessions?
"Bulk"?? Compression radically reduces file sizes, so I don't know what you mean.fsckDsk wrote:It adds additional bulk when trying to recover sessions.
-
- Posts: 6436
- Joined: February 3rd, 2009, 6:29 pm
Re: Why does Firefox lz4 bookmarks and sessions?
They might say that lz4 files are an implementation detail of how Firefox stores data. It should be considered a black box.
Similar comment on omni.ja with brotli compression
https://bugzilla.mozilla.org/show_bug.c ... 352595#c31
Similar comment on omni.ja with brotli compression
https://bugzilla.mozilla.org/show_bug.c ... 352595#c31
- RobertJ
- Moderator
- Posts: 10880
- Joined: October 15th, 2003, 7:40 pm
- Location: Chicago IL/Oconomowoc WI
Re: Why does Firefox lz4 bookmarks and sessions?
As usual, you have strong opinions but don't know what you are talking about.fsckDsk wrote:The lz4 compression layer for bookmarks and session is additional purpose-less garbage nobody asked for.
It adds additional bulk when trying to recover sessions.
.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
- therube
- Posts: 21714
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: Why does Firefox lz4 bookmarks and sessions?
He's not speaking of size, but speaking in terms of a human being being able to manipulate ones data.jscher2000 wrote:"Bulk"??
And in that respect, he is very correct.
What works for computer, what a computer can easily manipulate; json & lz4, makes things just that much more difficult for a person to deal with.
Starting with lz4.
To begin with, you need to be able to decompress it.
And as Mozilla uses old methods (before more standardized methods were finalized) to deal with lz4, it makes things even more difficult.
And once you've gotten past that barrier, then json itself isn't very user friendly...
Black boxes, yes.
I mentioned that here, https://bugzilla.mozilla.org/show_bug.cgi?id=674824#c2.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
- RobertJ
- Moderator
- Posts: 10880
- Joined: October 15th, 2003, 7:40 pm
- Location: Chicago IL/Oconomowoc WI
Re: Why does Firefox lz4 bookmarks and sessions?
In that case he should build his own browser.therube wrote: He's not speaking of size, but speaking in terms of a human being being able to manipulate ones data.
.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
- jscher2000
- Posts: 11771
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Why does Firefox lz4 bookmarks and sessions?
Yes, I found it quite difficult to sort out exactly how to read out the JSON. But what I learned is open sourced here:therube wrote:He's not speaking of size, but speaking in terms of a human being being able to manipulate ones data.jscher2000 wrote:"Bulk"??
https://github.com/jscher2000/scrounger
and live for use here:
https://www.jeffersonscher.com/res/scrounger.html
- Benjamin Markson
- Posts: 397
- Joined: November 19th, 2011, 3:57 am
- Location: en-GB
Re: Why does Firefox lz4 bookmarks and sessions?
The naughty part are the mozlz4 files which are an unnecessary, non-standard, hack of lz4 - beyond some messing about with the header it is the same as a regular lz4 compressed file. Security by obscurity won't stop the bad guys but it will inconvenience everybody else.
MozLz4a compression/decompression utility
...additional bulk indeed.
To quickly view and navigate a json file I would suggest this: Online SON Viewer
Ben.
MozLz4a compression/decompression utility
...additional bulk indeed.
To quickly view and navigate a json file I would suggest this: Online SON Viewer
Ben.
XUL is dead. Long live the Google Chrome Clones.
- RobertJ
- Moderator
- Posts: 10880
- Joined: October 15th, 2003, 7:40 pm
- Location: Chicago IL/Oconomowoc WI
Re: Why does Firefox lz4 bookmarks and sessions?
.
The OP was not looking for support; just wanted to rant.
Locking
.
The OP was not looking for support; just wanted to rant.
Locking
.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6