Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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);