搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

To point Firefox to a different folder for bookmarks.html do I use double \\ in the User.js string?

  • 1 个回答
  • 1 人有此问题
  • 13 次查看
  • 最后回复者为 the-edmeister

more options

That's what I conclude from the mozillaZine write up "User.js file." If so, the string is:

user_pref("browser.bookmarks.file", "C:\\Users\\Owner\\Dropbox\\Firefox\\bookmarks.html");

Is the double \\ path separator correct?

When I look at other files in about:config where the pref value is a folder path all that shows is a single \ not a double \\.

And yes, I have backed up prefs.js and bookmarks.html.

Thanks very much in advance for your time and attention to my question.

That's what I conclude from the mozillaZine write up "User.js file." If so, the string is: user_pref("browser.bookmarks.file", "C:\\Users\\Owner\\Dropbox\\Firefox\\bookmarks.html"); Is the double \\ path separator correct? When I look at other files in about:config where the pref value is a folder path all that shows is a single \ not a double \\. And yes, I have backed up prefs.js and bookmarks.html. Thanks very much in advance for your time and attention to my question.

所有回复 (1)

more options

That is the convention used for the the user.js file.

You also need to turn the backup of bookmarks to the bookmarks.html file.

// backup to bookmarks.html file upon closing Firefox:
user_pref("browser.bookmarks.autoExportHTML", true);