![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Prevent Mozilla privacy banner popup in kiosk mode
I'm using Firefox in a kiosk-mode application, on a Raspberry Pi based system, started from a bash script like this:
# Clear history etc. to prevent problems if unit is not perfectly shut down rm -v -r /home/pi/.mozilla/firefox/*.default rm -v -r /home/pi/.mozilla/firefox/*.default-esr rm -v -r /home/pi/.cache/mozilla/firefox/*.default rm -v /home/pi/.mozilla/firefox/profiles.ini
sleep 2
/usr/bin/firefox-esr --kiosk -url http://127.0.0.1
However on booting I get a banner from Mozilla along the top of the screen saying:
"Firefox automatically sends some data to Mozilla so that we can improve your experience [Choose what I share]"
This is not acceptable in kiosk mode, as it would give users access to the configuration as well as being a visual annoyance. How can we disable this?