Saturday, September 10, 2022

Web WhatsApp and Chromium or Firefox, does not finish loading

Hi,

I've noticed this problem many weeks before, but didn't report at the
time, as I thought it was random cookie problem, but then I started to
open new instances of Chroimum or Firefox, like scripts show at the very
end of this email. WhatsApp never finishes loading for me. Can anyone of
you reproduce the problem?


Chromium

--->8---
#!/bin/sh

umask 077

temp=`mktemp -d "${TMPDIR:=/tmp}/chrome.XXXXXXXXXXXXXXXX"` || exit 1
trap 'rm -rfP -- "$temp"' EXIT
trap 'exit 1' HUP INT QUIT TRAP PIPE TERM INFO USR1 USR2

if cd "$temp"
then
chrome \
--user-data-dir="$temp/${0##*/}" \
--incognito "$@"
exit $?
fi
---8<---


Firefox

--->8---
#!/bin/sh

umask 077

temp=`mktemp -d "${TMPDIR:=/tmp}/firefox.XXXXXXXXXXXXXXXX"` || exit 1
trap 'rm -rfP -- "$temp"' EXIT
trap 'exit 1' HUP INT QUIT TRAP PIPE TERM INFO USR1 USR2

if cd "$temp"
then
if ! mkdir -m 0700 "$temp/${0##*/}"
then
exit 5
fi
/usr/local/bin/firefox \
--new-instance --private-window \
--profile "$temp/${0##*/}" "$@"
exit $?
fi
---8<---

--
Regards,
Mikolaj

No comments:

Post a Comment