Недавние ответы в Export all the bookmarks from a loads of profiles from a scripthttps://support.mozilla.org/ru/questions/13747912022-04-20T03:49:25-07:00FredMcD said
What you could do is load each profile one at a time. Then do this;
Open the Bookmarks2022-04-20T03:49:25-07:00estebannhttps://support.mozilla.org/ru/questions/1374791#answer-1498861<em><p>FredMcD <a href="#answer-1498847" rel="nofollow">said</a></p></em>
<blockquote>What you could do is load each profile one at a time. Then do this;
Open the <strong>Bookmarks Manager; </strong> Press the <strong>Alt</strong> or <strong>F10</strong> key
to bring up the toolbar, and select <strong>Bookmarks. </strong>
Hot key is <strong>&lt;Control&gt; <em>(Mac=&lt;Command&gt;)</em> &lt;Shift&gt; B. </strong>
Firefox 84+ <strong>&lt;Control&gt; <em>(Mac=&lt;Command&gt;)</em> &lt;Shift&gt; O. </strong>
Once the window is open, at the top of the page, press the
button labeled <strong> Import and Backup. </strong> Select <strong>Export</strong>
<strong>Bookmarks To HTML, </strong> and follow the prompts and save it
to a <strong>HTML</strong> file.
</blockquote>
<p>Thank you for this idea but this is not really what I want to do (we will say that will be the last alternative).
</p>
<em><p>cor-el <a href="#answer-1498856" rel="nofollow">said</a></p></em>
<blockquote>As an easier workaround you can possibly enable autoExportHTML by setting to make Firefox create an HTML bookmarks backup each time you close Firefox.
<ul><li>browser.bookmarks.autoExportHTML = true in the profile.
</li></ul>
You can do this via an autoconfig.cfg file for all profiles.
<pre>// autoconfig.cfg needs to start with a blank line
pref("*browser.bookmarks.autoExportHTML", true);</pre><br>
<p>That way you only need to start Firefox with using each profile.
</p>
<ul><li><a href="https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig" rel="nofollow">https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig</a>
</li><li><a href="https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson" rel="nofollow">https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson</a>
</li></ul>
</blockquote>
<p>Good idea&nbsp;! It will be semi-automated as I will just have to close each instance&nbsp;!
</p>
<em><p>cor-el <a href="#answer-1498856" rel="nofollow">said</a></p></em>
<blockquote>
Otherwise you would have to figure out how to create an HTML backup from places.sqlite.
<ul><li><a href="https://searchfox.org/mozilla-release/source/toolkit/components/places/BookmarkHTMLUtils.jsm" rel="nofollow">https://searchfox.org/mozilla-release/source/toolkit/components/places/BookmarkHTMLUtils.jsm</a>
</li></ul>
</blockquote>
<p>Great&nbsp;! Thank you for pointing this code page&nbsp;:) ... Before posting, I had tried to use SQLite databases, but without knowing too much about the databases used, nor the relationships between the data. I think this code analysis will make it clearer.
</p><p>If I get the desired result, when I have put it in place I will come back to detail my solution but I don't know when. I think that in straight lines it should not be too complicated.
</p><p>Anyway, thank you and problem solved&nbsp;;D&nbsp;!
</p>As an easier workaround you can possibly enable autoExportHTML by setting to make Firefox create an 2022-04-20T03:22:50-07:00cor-elhttps://support.mozilla.org/ru/questions/1374791#answer-1498856<p>As an easier workaround you can possibly enable autoExportHTML by setting to make Firefox create an HTML bookmarks backup each time you close Firefox.
</p>
<ul><li>browser.bookmarks.autoExportHTML = true in the profile.
</li></ul>
<p>You can do this via an autoconfig.cfg file for all profiles.
</p>
<pre>// autoconfig.cfg needs to start with a blank line
pref("*browser.bookmarks.autoExportHTML", true);</pre><br>
<p>That way you only need to start Firefox with using each profile.
</p>
<ul><li><a href="https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig" rel="nofollow">https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig</a>
</li><li><a href="https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson" rel="nofollow">https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson</a>
</li></ul>
<p>Otherwise you would have to figure out how to create an HTML backup from places.sqlite.
</p>
<ul><li><a href="https://searchfox.org/mozilla-release/source/toolkit/components/places/BookmarkHTMLUtils.jsm" rel="nofollow">https://searchfox.org/mozilla-release/source/toolkit/components/places/BookmarkHTMLUtils.jsm</a>
</li></ul>
<p>The HTML backup is created by default in the profile folder as bookmarks.html every time you close Firefox, but you can set the path and file name via the browser.bookmarks.file pref on the about:config page.
The browser.bookmarks.file pref doesn't exist by default and you need to create a new String pref with the name browser.bookmarks.file and set the value to the full path of the backup bookmarks.html file including the file name.
</p>What you could do is load each profile one at a time. Then do this;
Open the Bookmarks Manager; Pre2022-04-20T02:49:45-07:00fredmcd-hotmailhttps://support.mozilla.org/ru/questions/1374791#answer-1498847<p>What you could do is load each profile one at a time. Then do this;
</p><p>Open the <strong>Bookmarks Manager; </strong> Press the <strong>Alt</strong> or <strong>F10</strong> key
to bring up the toolbar, and select <strong>Bookmarks. </strong>
Hot key is <strong>&lt;Control&gt; <em>(Mac=&lt;Command&gt;)</em> &lt;Shift&gt; B. </strong>
Firefox 84+ <strong>&lt;Control&gt; <em>(Mac=&lt;Command&gt;)</em> &lt;Shift&gt; O. </strong>
</p><p>Once the window is open, at the top of the page, press the
button labeled <strong> Import and Backup. </strong> Select <strong>Export</strong>
<strong>Bookmarks To HTML, </strong> and follow the prompts and save it
to a <strong>HTML</strong> file.
</p>