Thursday, December 10, 2009

Extension to the bookmark JSON viewer to have collapsable folders

This is a follow-up of my previous post on "Parse and display Firefox bookmarks.json on the fly as HTML with jQuery". The modification allows to collapse/expand (open/close) the bookmark folders. The collapsed folders are stored in cookies, this way they persist between page views. Download the new code and put it into your Firefox profile folder.

I want to stress one aspect of this small "application". The whole application is done in Javascript, it requires no PHP or even the web-server at all and even the body part of the HTML is empty. The whole thing that you see is dynamically generated with Javascript. Quite a different approach to the usual web-programming.

1 comment:

Unknown said...

Loved the previous code.
Could you post this to pastebin (or anywhere really) again as it's missing now.

Thanks