code: def parse_firefox (url_data):
      
      filename = url_data.get_os_filename()
      for url, name in firefox.parse_bookmark_file(filename):
          url_data.add_url(url, name=name)
docs: Parse a Firefox3 bookmark file.