bookmarks.html bloated with binary favicon data

Discussion of general topics about Mozilla Firefox
User avatar
the-edmeister
Posts: 32249
Joined: February 25th, 2003, 12:51 am
Location: Chicago, IL, USA

Re: bookmarks.html bloated with binary favicon data

Post by the-edmeister »

zep wrote:I consider it a bug and it makes using the browser more difficult.

I am curious why a new database would make using Firefox more difficult?

I can think of a few reasons why the move away from the HTML format would make it more difficult to "play with" Firefox, but as far as "using" Firefox ....



Ed
A mind is a terrible thing to waste. Mine has wandered off and I'm out looking for it.
User avatar
dickvl
Posts: 54145
Joined: July 18th, 2005, 3:25 am

Re: bookmarks.html bloated with binary favicon data

Post by dickvl »

You have to open the bookmarks.html file in Firefox (File > Open File), run the bookmarklet and use "Save Page as" to save the page as "Web page, complete". If you want to remove icon data then you have to delete places.sqlite to get rid of the table that stores the icons. You probably also need to remove the JSON backups (I'm not using favicons, so can't check that).
See Bookmarks_not_Saved (MozillaZine KB)
xc9Xf9cR9Z
Posts: 5
Joined: October 29th, 2017, 9:47 am

Re:

Post by xc9Xf9cR9Z »

dickvl wrote:A bookmarklet to decode the dates:

Code: Select all

javascript:(function(){var n='ADD_DATE,LAST_MODIFIED'.split(','),D=new Date(),N,V,i,j,k=0,l=document.links,L,M;for(i=0;L=l[i];i++){M=0;for(j=0;N=n[j];j++){if(V=L.getAttribute(N))D.setTime(parseInt(V+'000'));L.setAttribute(N,D.toLocaleString());M=1}if(M)k++}if(k){alert(k)}})();
Anyone know how to modify the code for date and time in ISO 8601 +1 (CET)?

https://en.wikipedia.org/wiki/ISO_8601
User avatar
James
Moderator
Posts: 27999
Joined: June 18th, 2003, 3:07 pm
Location: Made in Canada

Re: bookmarks.html bloated with binary favicon data

Post by James »

Holy Old Thread Batman!

Please do pay attention to the date of when this thread was started and last active.
Locked