X
Нажмите здесь, чтобы перейти на мобильную версию сайта.
Scheduled maintenance: Monday, March 30, between 3:30pm and 5:30pm UTC. This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn’t solve your issue and you want to ask a question, we have our support community waiting to help you at @firefox on Twitter

Форум поддержки

Is There a Terminal Switch to Export/Import JSON FILE?

Размещено

I need to get and put files from Firefox in an external program, so I need to be able to export/import JSON files programmatically (probably the command line). Is there a switch I can use, or some other way to do this?

I need to get and put files from Firefox in an external program, so I need to be able to export/import JSON files programmatically (probably the command line). Is there a switch I can use, or some other way to do this?

Выбранное решение

You can't do that via the command line.

There is a daily JSON backup in the bookmarkbackups folder in the Firefox Profile Folder

Maybe you can create a XPCOM component to do what you want. http://developer.mozilla.org/en/XPCOM http://kb.mozillazine.org/Category:XPCOM_example_code

http://forums.mozillazine.org/viewforum.php?f=27 - MozillaZine Mozilla Development forum http://forums.mozillazine.org/viewforum.php?f=19 - MozillaZine Extension Development forum

Прочитайте этот ответ в контексте 0

Дополнительные сведения о системе

Установленные плагины

  • -The default plugin handles plugin data for mimetypes and extensions that are not specified and facilitates downloading of new plugins.
  • The Totem 2.30.0 plugin handles video and audio streams.
  • DivX Web Player version 1.4.0.233

Приложение

  • User Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.4) Gecko/20100503 Firefox/3.6.4

Дополнительная информация

Задавший вопрос

I'm ashamed to, but...

bump

I'm ashamed to, but... bump
cor-el
  • Top 10 Contributor
  • Moderator
17846 решений 161524 ответов
Размещено

Выбранное решение

You can't do that via the command line.

There is a daily JSON backup in the bookmarkbackups folder in the Firefox Profile Folder

Maybe you can create a XPCOM component to do what you want. http://developer.mozilla.org/en/XPCOM http://kb.mozillazine.org/Category:XPCOM_example_code

http://forums.mozillazine.org/viewforum.php?f=27 - MozillaZine Mozilla Development forum http://forums.mozillazine.org/viewforum.php?f=19 - MozillaZine Extension Development forum

You can't do that via the command line. There is a daily JSON backup in the bookmarkbackups folder in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] Maybe you can create a XPCOM component to do what you want. http://developer.mozilla.org/en/XPCOM http://kb.mozillazine.org/Category:XPCOM_example_code http://forums.mozillazine.org/viewforum.php?f=27 - MozillaZine Mozilla Development forum http://forums.mozillazine.org/viewforum.php?f=19 - MozillaZine Extension Development forum