views:

292

answers:

1

hi,

firefox allows end user to export bookmarks to xbel bookmark exchange format. but i would like to programmatically:

  1. export some (not all) of the bookmarks and
  2. import xbel bookmarks into firefox.

preferably using a web language so that i can run the script from web server.

Can anyone suggest a solution?

A: 

Except by writing a firefox extension, I don't think you can do it. The only language that could have access to the navigator is JavaScript, and browser are designed to prevent JS from acessing them (for security purpose).

Wookai