You are not logged in.

#1 2005-07-02 04:24:56

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

firefox bookmark file

I hate how firefox stores favicons inline in the bookmark file. I did a bookmark export, and checked the filesize..
yikes. it was 420K

I ran a simple sed line on it...

sed -i "s#ICON=".*" ##g" bookmarks.html

Now the file is 130K...


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#2 2005-07-02 14:00:06

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: firefox bookmark file

Thanks for the tip, it shrunk from 260 KB to 53 Kb...

I'll put the thing in a script, something like

#!/bin/sh
cd ~/.mozilla/firefox/*.default/ &&
cp bookmarks.html bookmarks.html.bak`date +"-%F-%T"` &&
sed -i "s#ICON=".*" ##g" bookmarks.html

Offline

#3 2005-07-03 01:39:49

Mith
Member
From: out there
Registered: 2004-10-05
Posts: 163

Re: firefox bookmark file

thanks guys,
got it down from 248kb to 80kb  8)


ArchLinux (x86_64) w/ kdemod

Offline

#4 2005-07-03 02:50:24

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: firefox bookmark file

oooh. ooh. I found a way to turn off favicon support in firefox.
in about:config
browser.chrome.favicons = false
browser.chrome.site_icons = false

That is also one less http request for every website I visit. For some reason, maybe psychologically, it feels like everything is faster now.

8)


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

Board footer

Powered by FluxBB