Skip to content

Commit baeaaa6

Browse files
committed
docker: firefox: privacy.resistFingerprinting fixes #261
#261 (comment) Docker container will ask/fill email, challenge captcha, ask/fill password, challenge captcha again.
1 parent 105f6f4 commit baeaaa6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker-entrypoint.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ echo "Build: $NOW"
1212
# https://bugs.chromium.org/p/chromium/issues/detail?id=367048
1313
rm -f /fgc/data/browser/SingletonLock
1414

15+
# Firefox preferences are stored in $BROWSER_DIR/pref.js and can be overridden by a file user.js
16+
# Since this file has to be in the volume (data/browser), we can't do this in Dockerfile.
17+
mkdir -p /fgc/data/browser
18+
# fix for 'Incorrect response' after solving a captcha correctly - https://github.com/vogler/free-games-claimer/issues/261#issuecomment-1868385830
19+
echo 'user_pref("privacy.resistFingerprinting", true);' >> /fgc/data/browser/user.js
20+
# TODO disable session restore message?
21+
1522
# Remove X server display lock, fix for `docker compose up` which reuses container which made it fail after initial run, https://github.com/vogler/free-games-claimer/issues/31
1623
# echo $DISPLAY
1724
# ls -l /tmp/.X11-unix/

0 commit comments

Comments
 (0)