搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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

more options

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

所有回覆 (2)

more options

I'm ashamed to, but...

bump

more options

選擇的解決方法

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