docker: firefox: overwrite user.js instead of appending on every run, #261
This commit is contained in:
parent
baeaaa64f8
commit
b68021b8e8
1 changed files with 7 additions and 1 deletions
|
|
@ -16,7 +16,13 @@ rm -f /fgc/data/browser/SingletonLock
|
|||
# Since this file has to be in the volume (data/browser), we can't do this in Dockerfile.
|
||||
mkdir -p /fgc/data/browser
|
||||
# fix for 'Incorrect response' after solving a captcha correctly - https://github.com/vogler/free-games-claimer/issues/261#issuecomment-1868385830
|
||||
echo 'user_pref("privacy.resistFingerprinting", true);' >> /fgc/data/browser/user.js
|
||||
# echo 'user_pref("privacy.resistFingerprinting", true);' > /fgc/data/browser/user.js
|
||||
cat << EOT > /fgc/data/browser/user.js
|
||||
user_pref("privacy.resistFingerprinting", true);
|
||||
// user_pref("privacy.resistFingerprinting.letterboxing", true);
|
||||
// user_pref("browser.contentblocking.category", "strict");
|
||||
// user_pref("webgl.disabled", true);
|
||||
EOT
|
||||
# TODO disable session restore message?
|
||||
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue