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

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多
封存

Prevent Mozilla privacy banner popup in kiosk mode

jscher2000 -... replied
JohnU

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?

所有回覆 (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.

由 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.