<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://err404.numericore.com/en/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Err404 - Misc:isolated_browser</title>
        <description></description>
        <link>https://err404.numericore.com/en/</link>
        <lastBuildDate>Tue, 21 Apr 2026 11:59:29 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://err404.numericore.com/en/_media/wiki/logo.png</url>
            <title>Err404</title>
            <link>https://err404.numericore.com/en/</link>
        </image>
        <item>
            <title>start</title>
            <link>https://err404.numericore.com/en/Misc/isolated_browser/start</link>
            <description>&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;tabs plugin_wrap&quot;&gt;&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://err404.numericore.com/en/Misc/isolated_browser/&quot; class=&quot;urlextern&quot; title=&quot;https://err404.numericore.com/en/Misc/isolated_browser/&quot;&gt;English&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://err404.numericore.com/fr/Divers/navigateur_isolé/&quot; class=&quot;urlextern&quot; title=&quot;https://err404.numericore.com/fr/Divers/navigateur_isolé/&quot;&gt;Français&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;p&gt;
In my web browser, I wanted to have &lt;strong&gt;isolated&lt;/strong&gt; browsing windows (which do not share their session cookies, for example).
&lt;/p&gt;

&lt;p&gt;
My usual settings are to delete all data and retain nothing from the history when closing the browser.&lt;br /&gt;
But the web browser&amp;#039;s private browsing windows share their session cookies and I don&amp;#039;t want that…&lt;br /&gt;
There are containers, but you have to decide which one to use each time, which is not practical.&lt;br /&gt;
So I quickly cobbled together a script that copies a new profile to &lt;code&gt;/tmp/browser-$name/&lt;/code&gt; (which is a copy of an existing profile) with a random path.&lt;br /&gt;
When you close this window, the temporary profile is deleted.&lt;br /&gt;
This allows you to have isolated windows and not clutter up disk space unnecessarily when closing the isolated window.&lt;br /&gt;
I also wanted to take advantage of saved passwords and bookmarks, which is why I use a reference profile.
&lt;/p&gt;

&lt;p&gt;
Here are two solutions: one for LibreWolf and one for Firefox
&lt;/p&gt;

&lt;h3 class=&quot;sectionedit3&quot; id=&quot;solution_for_LibreWolf&quot;&gt;solution for LibreWolf&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;# this file is distributed under version 3 or superior from GNU Public Licence&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;# see https://www.gnu.org/licenses/gpl-3.0.en.html&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# you need to personalise the source variable&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;# there is the source profile for me:&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;source&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es2&quot;&gt;$HOME&lt;/span&gt;/.librewolf/*.pw&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# merci à ·☽•Nameless☆•777 · pour son idée d&#039;utiliser mktemp&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;randompath&lt;/span&gt;=$&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;mktemp&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt; XXXXXXXXX &lt;span class=&quot;re5&quot;&gt;--suffix&lt;/span&gt;=.browser &lt;span class=&quot;re5&quot;&gt;-p&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;tmp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;cp&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;${source}&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/*&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;${randompath}&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;
librewolf &lt;span class=&quot;re5&quot;&gt;--profile&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;${randompath}&lt;/span&gt;;  &lt;span class=&quot;kw2&quot;&gt;rm&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;${randompath}&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;solution for LibreWolf&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;solution_for_LibreWolf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1098-1633&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;solution_for_Firefox&quot;&gt;solution for Firefox&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;# this file is distributed under version 3 or superior from GNU Public Licence&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;# see https://www.gnu.org/licenses/gpl-3.0.en.html&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# you need to personalise the source variable&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;# there is the source profile for me:&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;source&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es2&quot;&gt;$HOME&lt;/span&gt;/.mozilla/firefox/*.pw&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# merci à ·☽•Nameless☆•777 · pour son idée d&#039;utiliser mktemp&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;randompath&lt;/span&gt;=$&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;mktemp&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt; XXXXXXXXX &lt;span class=&quot;re5&quot;&gt;--suffix&lt;/span&gt;=.browser &lt;span class=&quot;re5&quot;&gt;-p&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;tmp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;cp&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;${source}&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/*&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;${randompath}&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;
firefox &lt;span class=&quot;re5&quot;&gt;--profile&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;${randompath}&lt;/span&gt;;  &lt;span class=&quot;kw2&quot;&gt;rm&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;${randompath}&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;solution for Firefox&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;solution_for_Firefox&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1634-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 02 Sep 2025 09:53:45 +0000</pubDate>
        </item>
    </channel>
</rss>
