Quite frankly we need to stop trusting apps, particularly browsers at all. ;)
Quite frankly we need to stop trusting apps, particularly browsers at all. ;)
# Open a new firefox instance, with a temporary profile
function firefox_temp() {
dir=$(mktemp -d)
echo "Profile directory: ${dir}"
firefox --new-instance --profile ${dir}
echo "Cleaning up .."
rm -rf ${dir}
}
I'm not familiar with Chrome, but perhaps there is a similar "profile-directory" argument you can point to a temporary location?But this way I'm very certain extensions, history, local-storage, etc, are absolutely not available.
(To be honest I tend to use this mostly avoid caching, and other things. Useful when you're testing redirects and new designs.)
open -Fna /Applications/Google\ Chrome.app \
--args --user-data-dir=/my_temp_profile_dir/my_tmp_profile
If you copy an existing profile to `my_tmp_profile` chrome will use that, otherwise it behaves like a new setup.https://github.com/jessfraz/dockerfiles/blob/master/chrome/s...
It could be configured to run in a totally clean container to keep the browser reasonably isolated from the host system.
Of course, the truly harcore can use Qubes OS and spawn a disposable VM to browse the web from:
I came across it when I was trying to get two totally separate Chrome installs working on one machine (using https://github.com/djbclark/chrome-schismator), in such a way that they can run in parallel, update in parallel, each totally isolated from one another. It seems as though it's not possible to have two Chrome installs update themselves separately due to the Keystone application only being able to store one reference to a Chrome install at a time, meaning that the other Chrome instance never detects that it's out of date.
Mozilla is aware - there are a few bugzilla reports open about this - but like most Firefox bugs it takes months or years to be fixed. Last year (nov/dec?) they fixed something that improved battery life, but it's still worse than Chrome for me.
Personally, I'd like browsers to be much smarter about which cookies to keep and which to throw away. Keep cookies about settings, throw away everything else. And instead of not accepting cookies, leading to sites complaining about that, just accept them and throw them away at the end of the session.
Also, I'd really like the option to open some sites always in incognito mode. Many sites have no business knowing who I even am, but some really do. Same cookie policy for all sites makes no sense. Cookies need to be a lot more transparent, and instead of relying on annoying and incomprehensible GDPR popups, the browser should take care of that.