Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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?

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?

All Replies (4)

Anyone got any help on this?

We cannot have random popups in kiosk mode and this would force us to switch to a different browser if we cannot rely on Firefox.

Maybe you can use Enterprise Policy (policies.json). I don't know whether this policy will have the desired effect, or this refers to a different page:

jscher2000 - Support Volunteer said

Maybe you can use Enterprise Policy (policies.json). I don't know whether this policy will have the desired effect, or this refers to a different page:

While this is useful for other aspects I'm not seeing anything relating to the Firefox-native banner popups that are neither a start-page nor an actual web page popup / window.

EDIT: Unless it's these messages, which is unclear: https://mozilla.github.io/policy-templates/#usermessaging

It feels like Kiosk mode is nowhere near as "clean" as it should be by default, I suspect they've added the banners and not thought about / realised the effect it has on kiosk-type applications.

Modified by JohnU

Maybe you can interactively determine what preferences are modified when you interact with the infobar and choose your preferences, and then set those via Policy.