Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

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

详细了解
已存档

Using importbookmarks.html not working

jamin6900 已回复
jamin6900

We are trying to gain more control over our enterprise environments Firefox instances and since we do have 1 application that is required in Firefox, we are trying to deploy a bookmark for this one system without destroying the users existing bookmarks. Though there is very little to go upon as far as documentation on how to accomplish this, I have found one solution that I am attempting to use, that should work from what I understand, but has not so far.

Using config.js along with Mozilla.cfg customizations, I am trying to use browser.places.importBookmarksHTML to perform a one time import from a prepared bookmark.html file designated in the pref("browser.bookmarks.file", "c:\\program files(x86)\\Mozilla Firefox\\bookmarks.html");

All functions to deliver the bookmark.html file and set the appropriate settings for this seem to be working and in place, but the auto import is not happening.

This seems to be a very common need for any enterprise and this is the only suitable solution for accomplishing this without creating new SQLite DB's and overwriting all users existing bookmarks. If there is a better way to accomplish this, I would be very happy to hear about them, but otherwise, this process I am trying to utilize seems like it should work, but does not

We are trying to gain more control over our enterprise environments Firefox instances and since we do have 1 application that is required in Firefox, we are trying to deploy a bookmark for this one system without destroying the users existing bookmarks. Though there is very little to go upon as far as documentation on how to accomplish this, I have found one solution that I am attempting to use, that should work from what I understand, but has not so far. Using config.js along with Mozilla.cfg customizations, I am trying to use browser.places.importBookmarksHTML to perform a one time import from a prepared bookmark.html file designated in the pref("browser.bookmarks.file", "c:\\program files(x86)\\Mozilla Firefox\\bookmarks.html"); All functions to deliver the bookmark.html file and set the appropriate settings for this seem to be working and in place, but the auto import is not happening. This seems to be a very common need for any enterprise and this is the only suitable solution for accomplishing this without creating new SQLite DB's and overwriting all users existing bookmarks. If there is a better way to accomplish this, I would be very happy to hear about them, but otherwise, this process I am trying to utilize seems like it should work, but does not

所有回复 (1)

Uploading Screenshots