On 5/26/17, Felix Miata <mrma...@earthlink.net> wrote:
> Lee composed on 2017-05-26 10:24 (UTC-0400):
>
>> Felix Miata wrote:
>
>>> Most icons to me are useless, but particularly so for favicons, too tiny
>>> to
>>> present meaning, besides a waste of space and processing overhead. I'd
>>> like to
>>> be able to archive bookmarks in HTML form without the bloat favicons
>>> represent.
>>>
>>> Does anyone know of any way this can be done, extension maybe?
>
>> I can't stand them, so maybe don't allow them in the first place?
>
>> alerts.showFavicons   false
>
> Already was.
>
>> browser.chrome.favicons  false
>
> Already was.
>
>> browser.chrome.image_icons.max_size  0
>
> Was 1024.
>
>> browser.chrome.load_toolbar_icons  0
>
> Did not exist.
>
>> browser.chrome.site_icons  false
>
> Was true.
>
>> and
>> browser.bookmarks.autoExportHTML  true
>
> I do it manually when desired.
>
> Fresh export with all set as you have except autoExport still has them all,
> saved html file same size as last time. :-(

Not really surprising - I think those settings just prevent icons from
creeping into your bookmarks.

You're a linux user, so you have vi - correct?

Try this - hopefully it's just a one-time thing after you have all the
icon stuph turned off:
- export your bookmarks
- exit seamonkey
- copy the bookmarks.html file somewhere safe
vi bookmarks.html
:1,$ s/ ICON_URI="[^"]*"//
:1,$ s/ ICON="data:[^"]*"//
:wq
- start seamonkey
- delete all your bookmarks
- import your edited bookmarks.html file

enjoy!

Regards,
Lee


I found an old bookmarks file in my backups and it had two types of
icon references:
 ICON_URI="http://whatever";
and
 ICON="data:image/png;base64,whatever"

I don't remember if vi pattern matching is greedy or no, so instead of
matching on
 ".*" which could match way more than you want, match on
 "[^"]*"
which matches everything up to a "

I'm on windoze & used the windows version of vim - ymmv
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to